From: Axel Lin Date: Mon, 1 Apr 2013 02:48:13 +0000 (+0800) Subject: pwm: mxs: Remove unused *dev from struct mxs_pwm_chip X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4e61573df893abcb7b647fc4f3f4b60819704883;p=linux-beck.git pwm: mxs: Remove unused *dev from struct mxs_pwm_chip Signed-off-by: Axel Lin Acked-by: Shawn Guo Signed-off-by: Thierry Reding --- diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index a53d3094b75a..23d51806aeaa 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c @@ -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);