public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
@ 2012-07-01  4:57 Axel Lin
  2012-07-01  4:58 ` [PATCH 2/2] pwm: pwm-mxs: " Axel Lin
  2012-07-02 20:47 ` [PATCH 1/2] pwm: pwm-bfin: " Thierry Reding
  0 siblings, 2 replies; 5+ messages in thread
From: Axel Lin @ 2012-07-01  4:57 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-kernel

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/pwm/pwm-bfin.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-bfin.c b/drivers/pwm/pwm-bfin.c
index a0c6bf9..d53c4e7 100644
--- a/drivers/pwm/pwm-bfin.c
+++ b/drivers/pwm/pwm-bfin.c
@@ -146,9 +146,7 @@ static int __devexit bfin_pwm_remove(struct platform_device *pdev)
 {
 	struct bfin_pwm_chip *pwm = platform_get_drvdata(pdev);
 
-	pwmchip_remove(&pwm->chip);
-
-	return 0;
+	return pwmchip_remove(&pwm->chip);
 }
 
 static struct platform_driver bfin_pwm_driver = {
-- 
1.7.9.5




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

end of thread, other threads:[~2012-07-02 20:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-01  4:57 [PATCH 1/2] pwm: pwm-bfin: Return proper error if pwmchip_remove() fails Axel Lin
2012-07-01  4:58 ` [PATCH 2/2] pwm: pwm-mxs: " Axel Lin
2012-07-01 14:09   ` Shawn Guo
2012-07-02 20:47   ` Thierry Reding
2012-07-02 20:47 ` [PATCH 1/2] pwm: pwm-bfin: " Thierry Reding

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