* [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
* [PATCH 2/2] pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
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 ` 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
1 sibling, 2 replies; 5+ messages in thread
From: Axel Lin @ 2012-07-01 4:58 UTC (permalink / raw)
To: Thierry Reding; +Cc: linux-kernel, Shawn Guo
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/pwm/pwm-mxs.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
index 269d7c2..e585264 100644
--- a/drivers/pwm/pwm-mxs.c
+++ b/drivers/pwm/pwm-mxs.c
@@ -178,9 +178,7 @@ static int __devexit mxs_pwm_remove(struct platform_device *pdev)
{
struct mxs_pwm_chip *mxs = platform_get_drvdata(pdev);
- pwmchip_remove(&mxs->chip);
-
- return 0;
+ return pwmchip_remove(&mxs->chip);
}
static struct of_device_id mxs_pwm_dt_ids[] = {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
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
1 sibling, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2012-07-01 14:09 UTC (permalink / raw)
To: Axel Lin; +Cc: Thierry Reding, linux-kernel
On Sun, Jul 01, 2012 at 12:58:00PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
> ---
> drivers/pwm/pwm-mxs.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
> index 269d7c2..e585264 100644
> --- a/drivers/pwm/pwm-mxs.c
> +++ b/drivers/pwm/pwm-mxs.c
> @@ -178,9 +178,7 @@ static int __devexit mxs_pwm_remove(struct platform_device *pdev)
> {
> struct mxs_pwm_chip *mxs = platform_get_drvdata(pdev);
>
> - pwmchip_remove(&mxs->chip);
> -
> - return 0;
> + return pwmchip_remove(&mxs->chip);
> }
>
> static struct of_device_id mxs_pwm_dt_ids[] = {
> --
> 1.7.9.5
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
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-02 20:47 ` Thierry Reding
1 sibling, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2012-07-02 20:47 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
On Sun, Jul 01, 2012 at 12:57:00PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> drivers/pwm/pwm-bfin.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
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
1 sibling, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2012-07-02 20:47 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Shawn Guo
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
On Sun, Jul 01, 2012 at 12:58:00PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> drivers/pwm/pwm-mxs.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [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