Browse Source

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>
Axel Lin 12 years ago
parent
commit
4e61573df8
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/pwm/pwm-mxs.c

+ 0 - 2
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);