unicore32: nb0916: Use PWM lookup table
authorThierry Reding <thierry.reding@gmail.com>
Mon, 5 Oct 2015 06:05:30 +0000 (08:05 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 10 Nov 2015 12:06:44 +0000 (13:06 +0100)
commitb68edac9217ef433470f78d3fb54a769ef95a45f
tree58f0dd587654075881821f7322e5e3c06f364646
parentcdc137089a752d496880526dad2569eaa6ba092d
unicore32: nb0916: 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: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
arch/unicore32/kernel/puv3-nb0916.c