diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/atmel-pwm-bl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/backlight/atmel-pwm-bl.c b/drivers/video/backlight/atmel-pwm-bl.c index df1cbb7ef6ca..de5e5e74e2a7 100644 --- a/drivers/video/backlight/atmel-pwm-bl.c +++ b/drivers/video/backlight/atmel-pwm-bl.c | |||
@@ -106,10 +106,9 @@ static int atmel_pwm_bl_init_pwm(struct atmel_pwm_bl *pwmbl) | |||
106 | pwm_channel_writel(&pwmbl->pwmc, PWM_CPRD, | 106 | pwm_channel_writel(&pwmbl->pwmc, PWM_CPRD, |
107 | pwmbl->pdata->pwm_compare_max); | 107 | pwmbl->pdata->pwm_compare_max); |
108 | 108 | ||
109 | dev_info(&pwmbl->pdev->dev, "Atmel PWM backlight driver " | 109 | dev_info(&pwmbl->pdev->dev, "Atmel PWM backlight driver (%lu Hz)\n", |
110 | "(%lu Hz)\n", pwmbl->pwmc.mck / | 110 | pwmbl->pwmc.mck / pwmbl->pdata->pwm_compare_max / |
111 | pwmbl->pdata->pwm_compare_max / | 111 | (1 << prescale)); |
112 | (1 << prescale)); | ||
113 | 112 | ||
114 | return pwm_channel_enable(&pwmbl->pwmc); | 113 | return pwm_channel_enable(&pwmbl->pwmc); |
115 | } | 114 | } |