diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2020-01-20 20:33:28 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-01-21 20:56:47 +0100 |
commit | 5ec6fd39f5f23278c6c2f528b412dcff6a29eb59 (patch) | |
tree | 3bfa6496b347b593566c5f91555a9aa3dfc711c7 /arch/arm/mach-exynos | |
parent | 45984f0c70ccc03e09f97ee5d0749396547b6594 (diff) |
ARM: s3c24xx: Switch to atomic pwm API in rx1950
Stop using the legacy PWM API which only still exists because there are
some users left.
Note this change make use of the fact that the value of struct
pwm_state::duty_cycle doesn't matter for a disabled PWM and so its value
can stay constant simplifying the code a bit.
A side effect of the conversion is that the pwm isn't stopped in
rx1950_backlight_init() by the call to pwm_apply_args() just before
reenabling it when rx1950_lcd_power(1) is called.
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-exynos')
0 files changed, 0 insertions, 0 deletions