Linux Kernels

pwm: ab8500: Fix trivial typo in dev_err message

This change “pwm: ab8500: Fix trivial typo in dev_err message” (commit 622fc5d) in Linux kernel is authored by Axel Lin <axel.lin [at] ingics.com> on Tue Mar 26 22:34:50 2013 +0800.

Description of "pwm: ab8500: Fix trivial typo in dev_err message"

The change “pwm: ab8500: Fix trivial typo in dev_err message” introduces changes as follows.

pwm: ab8500: Fix trivial typo in dev_err message

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>

Linux kernel releases containing commit 622fc5d

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "pwm: ab8500: Fix trivial typo in dev_err message"

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 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 93af1bbf88ce..3beb2b52bd2e 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;
 }

The commit for this change in Linux stable tree is 622fc5d (patch).

Last modified: 2020/01/11 09:46