backlight: pwm_bl: Remove useless call to pwm_set_period()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 30 Mar 2016 20:03:25 +0000 (22:03 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 17 May 2016 12:44:58 +0000 (14:44 +0200)
commit7f044b09b68d36811518c55f736a20648e8ed6e2
tree78040e859d1a61bdda2c2ea356ae5049361039ac
parent3587c260906259632df07652743269627f408d85
backlight: pwm_bl: Remove useless call to pwm_set_period()

The PWM period will be set when calling pwm_config. Remove this useless
call to pwm_set_period(), which might mess up the internal PWM state.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c