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 mxs_pwm_chip {
|
||||||
struct pwm_chip chip;
|
struct pwm_chip chip;
|
||||||
struct device *dev;
|
|
||||||
struct clk *clk;
|
struct clk *clk;
|
||||||
void __iomem *base;
|
void __iomem *base;
|
||||||
};
|
};
|
||||||
|
@ -166,7 +165,6 @@ static int mxs_pwm_probe(struct platform_device *pdev)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
mxs->dev = &pdev->dev;
|
|
||||||
platform_set_drvdata(pdev, mxs);
|
platform_set_drvdata(pdev, mxs);
|
||||||
|
|
||||||
stmp_reset_block(mxs->base);
|
stmp_reset_block(mxs->base);
|
||||||
|
|
Loading…
Reference in New Issue