From: Axel Lin Date: Tue, 26 Mar 2013 14:34:50 +0000 (+0800) Subject: pwm: ab8500: Fix trivial typo in dev_err message X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=622fc5d4452a20aab7b8f5107c2931c5610e5753;p=linux-beck.git pwm: ab8500: Fix trivial typo in dev_err message Signed-off-by: Axel Lin Signed-off-by: Thierry Reding --- 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; }