Commit 4e61573d authored by Axel Lin's avatar Axel Lin Committed by Thierry Reding

pwm: mxs: Remove unused *dev from struct mxs_pwm_chip

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent c8e4df31
...@@ -38,7 +38,6 @@ ...@@ -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) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment