public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 2/2] pwm: spear: Remove unused *dev from struct spear_pwm_chip
@ 2013-04-01  4:29 Axel Lin
  2013-04-02  9:39 ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-04-01  4:29 UTC (permalink / raw)
  To: Thierry Reding; +Cc: Viresh Kumar, Shiraz Hashim, linux-kernel

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Shiraz Hashim <shiraz.hashim@st.com>
---
v2: fix the prefix in subject line
 drivers/pwm/pwm-spear.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
index 3223b57..9563599 100644
--- a/drivers/pwm/pwm-spear.c
+++ b/drivers/pwm/pwm-spear.c
@@ -49,13 +49,11 @@
  * @mmio_base: base address of pwm chip
  * @clk: pointer to clk structure of pwm chip
  * @chip: linux pwm chip representation
- * @dev: pointer to device structure of pwm chip
  */
 struct spear_pwm_chip {
 	void __iomem *mmio_base;
 	struct clk *clk;
 	struct pwm_chip chip;
-	struct device *dev;
 };
 
 static inline struct spear_pwm_chip *to_spear_pwm_chip(struct pwm_chip *chip)
@@ -200,7 +198,6 @@ static int spear_pwm_probe(struct platform_device *pdev)
 	if (IS_ERR(pc->clk))
 		return PTR_ERR(pc->clk);
 
-	pc->dev = &pdev->dev;
 	platform_set_drvdata(pdev, pc);
 
 	pc->chip.dev = &pdev->dev;
-- 
1.7.10.4




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

* Re: [PATCH v2 2/2] pwm: spear: Remove unused *dev from struct spear_pwm_chip
  2013-04-01  4:29 [PATCH v2 2/2] pwm: spear: Remove unused *dev from struct spear_pwm_chip Axel Lin
@ 2013-04-02  9:39 ` Thierry Reding
  0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2013-04-02  9:39 UTC (permalink / raw)
  To: Axel Lin; +Cc: Viresh Kumar, Shiraz Hashim, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

On Mon, Apr 01, 2013 at 12:29:48PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> Acked-by: Shiraz Hashim <shiraz.hashim@st.com>
> ---
> v2: fix the prefix in subject line
>  drivers/pwm/pwm-spear.c |    3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01  4:29 [PATCH v2 2/2] pwm: spear: Remove unused *dev from struct spear_pwm_chip Axel Lin
2013-04-02  9:39 ` Thierry Reding

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