2013-03-26 14:34:58

by Axel Lin

[permalink] [raw]
Subject: [PATCH] pwm: ab8500: Fix trivial typo in dev_err message

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



2013-03-26 15:24:42

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] pwm: ab8500: Fix trivial typo in dev_err message

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


Attachments:
(No filename) (774.00 B)
(No filename) (836.00 B)
Download all attachments

2013-03-27 06:11:37

by Arun MURTHY

[permalink] [raw]
Subject: RE: [PATCH] pwm: ab8500: Fix trivial typo in dev_err message

> 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?