summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-07-07 19:27:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-26 15:07:13 +0300
commitc37a34d7975fcff432bbd6178215951ef1559654 (patch)
treee07b21e04ee3fd98af63c967243c1ecf65e16c7e /block
parent8a29e68ea8e8d8492c1d0d7d9931d45861b50593 (diff)
downloadlinux-c37a34d7975fcff432bbd6178215951ef1559654.tar.xz
pwm: stm32-lp: Don't modify HW state in .remove() callback
[ Upstream commit d44084c93427bb0a9261432db1a8ca76a42d805e ] A consumer is expected to disable a PWM before calling pwm_put(). And if they didn't there is hopefully a good reason (or the consumer needs fixing). Also if disabling an enabled PWM was the right thing to do, this should better be done in the framework instead of in each low level driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions