提交 4e61573d 编写于 作者: A Axel Lin 提交者: Thierry Reding

pwm: mxs: Remove unused *dev from struct mxs_pwm_chip

Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Acked-by: NShawn Guo <shawn.guo@linaro.org>
Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
上级 c8e4df31
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册