pwm: ab8500: Fix trivial typo in dev_err message
authorAxel Lin <axel.lin@ingics.com>
Tue, 26 Mar 2013 14:34:50 +0000 (22:34 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 26 Mar 2013 15:04:03 +0000 (16:04 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-ab8500.c

index 93af1bb..3beb2b5 100644 (file)
@@ -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;
 }