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 93af1bbf88ce4871ff5dda25944a4c7e1971317c..3beb2b52bd2ec53ae1753b60e5571e2c7d50c33e 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;
 }