summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lp8501.c
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2020-01-24 17:54:08 +0100
committerPavel Machek <pavel@ucw.cz>2020-02-26 21:49:39 +0100
commitdd47a83453e4a5b0d6a91fe702b7fbc1984fb610 (patch)
tree12d5eb0edf42e8fde7e8e6ca2837cdf85c6f81f4 /drivers/leds/leds-lp8501.c
parentb43a8f01fccbfdddbc7f9b2bbad11b7db3fda4e1 (diff)
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 'drivers/leds/leds-lp8501.c')
0 files changed, 0 insertions, 0 deletions