diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-01 04:48:13 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-02 11:33:05 +0200 |
commit | 4e61573df893abcb7b647fc4f3f4b60819704883 (patch) | |
tree | 51fcd4bbfc56a33b3c0cf15c91ed957ad90fd7c6 | |
parent | pwm: twl: Return proper error if twl6030_pwm_enable() fails (diff) | |
download | linux-4e61573df893abcb7b647fc4f3f4b60819704883.tar.xz linux-4e61573df893abcb7b647fc4f3f4b60819704883.zip |
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>
-rw-r--r-- | drivers/pwm/pwm-mxs.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |