diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-31 22:48:13 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-02 05:33:05 -0400 |
commit | 4e61573df893abcb7b647fc4f3f4b60819704883 (patch) | |
tree | 51fcd4bbfc56a33b3c0cf15c91ed957ad90fd7c6 /drivers/pwm/pwm-mxs.c | |
parent | c8e4df3109646762f21c6e288187ec395fdf67be (diff) |
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>
Diffstat (limited to 'drivers/pwm/pwm-mxs.c')
-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 @@ | |||
38 | 38 | ||
39 | struct mxs_pwm_chip { | 39 | struct mxs_pwm_chip { |
40 | struct pwm_chip chip; | 40 | struct pwm_chip chip; |
41 | struct device *dev; | ||
42 | struct clk *clk; | 41 | struct clk *clk; |
43 | void __iomem *base; | 42 | void __iomem *base; |
44 | }; | 43 | }; |
@@ -166,7 +165,6 @@ static int mxs_pwm_probe(struct platform_device *pdev) | |||
166 | return ret; | 165 | return ret; |
167 | } | 166 | } |
168 | 167 | ||
169 | mxs->dev = &pdev->dev; | ||
170 | platform_set_drvdata(pdev, mxs); | 168 | platform_set_drvdata(pdev, mxs); |
171 | 169 | ||
172 | stmp_reset_block(mxs->base); | 170 | stmp_reset_block(mxs->base); |