pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
Subsystems (2)
PATCH 1/2 pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
Signed-off-by Axel Lin <[email protected]>
--- drivers/pwm/pwm-bfin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/pwm/pwm-bfin.c +1 -3
@@ -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 = {
Signature · 1 line
1.7.9.5
PATCH 2/2 pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
Signed-off-by Axel Lin <[email protected]>
--- drivers/pwm/pwm-mxs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/pwm/pwm-mxs.c +1 -3
@@ -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[] = {
Signature · 1 line
1.7.9.5
Re: [PATCH 2/2] pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Acked-by Shawn Guo <[email protected]>
Quoted 24 lines
--- drivers/pwm/pwm-mxs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/pwm/pwm-mxs.c +1
-3@@ -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[] = {Signature · 1 line
1.7.9.5
Thierry Reding
AppliedRe: [PATCH 2/2] pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
In reply to Axel LinQuoted 4 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- drivers/pwm/pwm-mxs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks.
Thierry
Thierry Reding
AppliedQuoted 4 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- drivers/pwm/pwm-bfin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks.
Thierry