]> git.baikalelectronics.ru Git - kernel.git/commit
leds: leds-pwm: retrieve configured PWM period
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 19 May 2014 20:42:41 +0000 (22:42 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 09:19:45 +0000 (11:19 +0200)
commitf826e55f869a9253876e4974d64ae3b27a5c41a7
tree77683ae1cde1fd6c7508290f7683017c74f6440d
parentf19637d9416a6d6377fa537a7bd94a92d736641b
leds: leds-pwm: 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/leds/leds-pwm.c