diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2020-01-24 17:54:08 +0100 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-02-26 21:49:39 +0100 |
commit | dd47a83453e4a5b0d6a91fe702b7fbc1984fb610 (patch) | |
tree | 12d5eb0edf42e8fde7e8e6ca2837cdf85c6f81f4 /.cocciconfig | |
parent | b43a8f01fccbfdddbc7f9b2bbad11b7db3fda4e1 (diff) | |
download | lwn-dd47a83453e4a5b0d6a91fe702b7fbc1984fb610.tar.gz lwn-dd47a83453e4a5b0d6a91fe702b7fbc1984fb610.zip |
leds: pwm: convert to atomic PWM API
pwm_config(), pwm_enable() and pwm_disable() should get removed in the
long run. So update the driver to use the atomic API that is here to
stay.
A few side effects:
- led_pwm_set() now returns an error when setting the PWM fails.
- During .probe() the PWM isn't disabled implicitly by pwm_apply_args()
any more.
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Tested-by: Jeff LaBundy <jeff@labundy.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions