]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e2666319e7c4c1294932347ee2b1f09d62bba16
tree58f0dd587654075881821f7322e5e3c06f364646
parent9e39ff3ba02a56a2a0bedf8debc337bc9da34eb0
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