pwm: atmel-hlcdc: Don't use pwm consumer API
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 26 Jan 2024 12:04:34 +0000 (13:04 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 15 Feb 2024 11:28:02 +0000 (12:28 +0100)
commitc6c3f7e73dabd8c5aee0f7aad9720d8f5e3f5ca7
tree84c02f9ebb1a9b8b8235adfce502a0834444430b
parent65a63bf94ac296863674f80209a8e919efab45cf
pwm: atmel-hlcdc: Don't use pwm consumer API

Lowlevel driver callbacks are not supposed to use the consumer API
functions. Currently this works, but with the upcoming locking changes
this probably results in dead locks.

Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/6e34607828b290cd64ca9f82df40872853069f07.1706269232.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/pwm/pwm-atmel-hlcdc.c