pwm-backlight: retrieve configured PWM period
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 19 May 2014 20:42:42 +0000 (22:42 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 09:19:45 +0000 (11:19 +0200)
commit16fc3352ea58b481f879f8d965b98208ccc279c2
tree59c61a8dfd8b83b2f0cdc7831633ec2db0f285d6
parent81225bed32739752df61b5821bbf3f9be70e434d
pwm-backlight: retrieve configured PWM period

The PWM core is now able to initialize the PWM period from a lookup
table defined by board files. Use it if available and fallback to the
value supplied in pwm_period_ns.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c