ARM: pxa: colibri-pxa270-income: Use PWM lookup table
authorThierry Reding <thierry.reding@gmail.com>
Mon, 5 Oct 2015 08:49:42 +0000 (10:49 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 5 Oct 2015 20:24:03 +0000 (22:24 +0200)
commitbd2e2b3c354605d2064ddd8b3c9fbbe7d2df714f
tree8c875f51ff4271a950d691ef6bd934ff8da151bf
parent688538636bec2d49d6aae3f9c152216c7aafb8e7
ARM: pxa: colibri-pxa270-income: Use PWM lookup table

Use a PWM lookup table to provide the PWM to the pwm-backlight device.
The driver has a legacy code path that is required only because boards
still use the legacy method of requesting PWMs by global ID. Replacing
these usages allows that legacy fallback to be removed.

Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/colibri-pxa270-income.c