ARM: pxa: magician: Use PWM lookup table
authorThierry Reding <thierry.reding@gmail.com>
Mon, 5 Oct 2015 08:49:46 +0000 (10:49 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 6 Oct 2015 19:05:06 +0000 (21:05 +0200)
commitbd3208bab35872e545d40f22cc707a8c4892b66e
tree0b1fd0c9ea8521246631d37106bde11b38f668c3
parent2dc9975a516aa49790c69368b3bbc519b64eb059
ARM: pxa: magician: 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>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/magician.c