lkml.org 
[lkml]   [2013]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] pwm: renesas-tpu: Add missing pwmchip_remove() call in tpu_remove()
From
Date
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/pwm/pwm-renesas-tpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pwm/pwm-renesas-tpu.c b/drivers/pwm/pwm-renesas-tpu.c
index 8e6d8d7..351addd 100644
--- a/drivers/pwm/pwm-renesas-tpu.c
+++ b/drivers/pwm/pwm-renesas-tpu.c
@@ -444,7 +444,7 @@ static int tpu_remove(struct platform_device *pdev)

pm_runtime_disable(&pdev->dev);

- return 0;
+ return pwmchip_remove(&tpu->chip);
}

static struct platform_driver tpu_driver = {
--
1.8.1.2




\
 
 \ /
  Last update: 2013-05-19 08:21    [W:0.061 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site