video: pwm-backlight: Honour discrete brightness levels from dt
If probed from device tree we have an array of pwm duty cycle levels
in the brightness-levels property. Although the driver parsed the property,
the values have been ignored. Make use of these flags so that the driver
can work for example with inverted PWMs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ea68277 commit 42c797b091a153762c9a49738db46e8e84f64ad6
@Sascha Hauer Sascha Hauer authored on 18 Nov 2015
Showing 1 changed file
View
drivers/video/backlight-pwm.c