ARM: S3C64XX: Use PWM lookup table for mach-hmt
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)
commitdd39be623e733ab90ec36d72e72234cd50156724
tree99d06fe254cc321dfca7c215b301472a7a12f262
parent799fbf8ceef4621dd3dd01499ef13cab1d082896
ARM: S3C64XX: Use PWM lookup table for mach-hmt

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