From 622fc5d4452a20aab7b8f5107c2931c5610e5753 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 26 Mar 2013 22:34:50 +0800 Subject: [PATCH] pwm: ab8500: Fix trivial typo in dev_err message Signed-off-by: Axel Lin Signed-off-by: Thierry Reding --- 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; } -- 2.30.2