ARM: S3C64XX: Use PWM lookup table for mach-crag6410
authorThierry Reding <thierry.reding@gmail.com>
Mon, 12 Oct 2015 20:04:22 +0000 (05:04 +0900)
committerKukjin Kim <kgene@kernel.org>
Mon, 12 Oct 2015 20:04:22 +0000 (05:04 +0900)
commit799fbf8ceef4621dd3dd01499ef13cab1d082896
tree9e44a31f46a155f803ff62019f4da55bafebc5a7
parentbf0ff1cd21a34ced1b34a42f12de8ec1ae7cfd3b
ARM: S3C64XX: Use PWM lookup table for mach-crag6410

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.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-s3c64xx/mach-crag6410.c