mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-18 10:34:24 +08:00
pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
This commit is contained in:
parent
c8e4df3109
commit
4e61573df8
@ -38,7 +38,6 @@
|
||||
|
||||
struct mxs_pwm_chip {
|
||||
struct pwm_chip chip;
|
||||
struct device *dev;
|
||||
struct clk *clk;
|
||||
void __iomem *base;
|
||||
};
|
||||
@ -166,7 +165,6 @@ static int mxs_pwm_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
mxs->dev = &pdev->dev;
|
||||
platform_set_drvdata(pdev, mxs);
|
||||
|
||||
stmp_reset_block(mxs->base);
|
||||
|
Loading…
Reference in New Issue
Block a user