ARM: S3C64XX: Use PWM lookup table for mach-smartq
authorThierry Reding <thierry.reding@gmail.com>
Mon, 12 Oct 2015 20:04:24 +0000 (05:04 +0900)
committerKukjin Kim <kgene@kernel.org>
Mon, 12 Oct 2015 20:04:24 +0000 (05:04 +0900)
commit4dddfb882373b542d33a98576975237a23c0110c
treedb9494ee7152cf0e0c4e6a1a1fa4144037b26d3b
parentdd39be623e733ab90ec36d72e72234cd50156724
ARM: S3C64XX: Use PWM lookup table for mach-smartq

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