Signed-off-by: Axel Lin <[email protected]>
---
drivers/pwm/pwm-ab8500.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-ab8500.c b/drivers/pwm/pwm-ab8500.c
index 93af1bb..3beb2b5 100644
--- a/drivers/pwm/pwm-ab8500.c
+++ b/drivers/pwm/pwm-ab8500.c
@@ -66,7 +66,7 @@ static int ab8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
AB8500_MISC, AB8500_PWM_OUT_CTRL7_REG,
1 << (chip->base - 1), ENABLE_PWM);
if (ret < 0)
- dev_err(chip->dev, "%s: Failed to disable PWM, Error %d\n",
+ dev_err(chip->dev, "%s: Failed to enable PWM, Error %d\n",
pwm->label, ret);
return ret;
}
--
1.7.10.4
On Tue, Mar 26, 2013 at 10:34:50PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <[email protected]>
> ---
> drivers/pwm/pwm-ab8500.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/pwm-ab8500.c b/drivers/pwm/pwm-ab8500.c
> index 93af1bb..3beb2b5 100644
> --- a/drivers/pwm/pwm-ab8500.c
> +++ b/drivers/pwm/pwm-ab8500.c
> @@ -66,7 +66,7 @@ static int ab8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
> AB8500_MISC, AB8500_PWM_OUT_CTRL7_REG,
> 1 << (chip->base - 1), ENABLE_PWM);
> if (ret < 0)
> - dev_err(chip->dev, "%s: Failed to disable PWM, Error %d\n",
> + dev_err(chip->dev, "%s: Failed to enable PWM, Error %d\n",
> pwm->label, ret);
> return ret;
> }
Applied, thanks.
Thierry
> Signed-off-by: Axel Lin <[email protected]>
Acked-by: Arun Murthy <[email protected]>
Thanks and Regards,
Arun R Murthy
------------------
????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m????????????I?