mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
staging: greybus: Add TODO item about modernizing the pwm code
drivers/staging/greybus/pwm.c uses the old style PWM callbacks, new drivers should stick to the atomic API instead. Acked-by: Johan Hovold <johan@kernel.org> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Link: https://lore.kernel.org/r/20201208101607.42785-1-uwe@kleine-koenig.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
518b466a21
commit
c11cbd57f0
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
* Convert all uses of the old GPIO API from <linux/gpio.h> to the
|
||||
GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
|
||||
lines from device tree or ACPI.
|
||||
* Make pwm.c use the struct pwm_ops::apply instead of ::config, ::set_polarity,
|
||||
::enable and ::disable.
|
||||
|
|
Loading…
Reference in a new issue