pwm: Add might_sleep() annotations for !CONFIG_PWM API functions
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 9 Sep 2021 09:48:48 +0000 (11:48 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 5 Nov 2021 10:51:40 +0000 (11:51 +0100)
commit27d9a4d69433af1827a764fe235866d5d5501fdb
tree9b8cf6390dd79ef55e1401a2d111033955f3d3d1
parent6f897a1085083c9866a234ab6092b05b986242fb
pwm: Add might_sleep() annotations for !CONFIG_PWM API functions

The normal implementations of these functions make use of mutexes. To
make it obvious that these functions might sleep also add annotations to
the dummy implementations in the !CONFIG_PWM case.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
include/linux/pwm.h