ARM: S3C24XX: Use PWM lookup table for mach-h1940
authorThierry Reding <thierry.reding@gmail.com>
Mon, 12 Oct 2015 20:04:21 +0000 (05:04 +0900)
committerKukjin Kim <kgene@kernel.org>
Mon, 12 Oct 2015 20:04:21 +0000 (05:04 +0900)
commit8c78aaa6ee587bce9d913114ba2aec5d345e39ed
tree769dbb6613cb292747eb82ac0635a0a03801f534
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
ARM: S3C24XX: Use PWM lookup table for mach-h1940

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-h1940.c