]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: S3C64XX: Use PWM lookup table for smdk6410
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)
commitbf0ff1cd21a34ced1b34a42f12de8ec1ae7cfd3b
tree10eadd8ed63392f30f9f518708fc848ea13efd9c
parentc107fe904a1075be8defff9b3942cde5a930a2bb
ARM: S3C64XX: Use PWM lookup table for smdk6410

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/dev-backlight.c
arch/arm/mach-s3c64xx/mach-smdk6410.c