ARM: S3C24XX: Use PWM lookup table for mach-rx1950
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)
commitc107fe904a1075be8defff9b3942cde5a930a2bb
tree96c85e70657836f8c89e70a1cf3d13b0c102e5d7
parent8c78aaa6ee587bce9d913114ba2aec5d345e39ed
ARM: S3C24XX: Use PWM lookup table for mach-rx1950

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-s3c24xx/mach-rx1950.c