public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
@ 2013-04-01  2:48 Axel Lin
  2013-04-01  2:49 ` [PATCH 2/2] pwm: mxs: Remove unused *dev from struct spear_pwm_chip Axel Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Axel Lin @ 2013-04-01  2:48 UTC (permalink / raw)
  To: Thierry Reding; +Cc: Shawn Guo, linux-kernel

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/pwm/pwm-mxs.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
index a53d309..23d5180 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);
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-02  9:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01  2:48 [PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip Axel Lin
2013-04-01  2:49 ` [PATCH 2/2] pwm: mxs: Remove unused *dev from struct spear_pwm_chip Axel Lin
2013-04-01  3:52   ` Shiraz Hashim
2013-04-01  4:48   ` Viresh Kumar
2013-04-01  6:56 ` [PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip Shawn Guo
2013-04-02  9:40 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox