]> git.ipfire.org Git - thirdparty/linux.git/commit
pwm: Add pwm_apply_state() compatibility stub
authorThierry Reding <thierry.reding@gmail.com>
Thu, 21 Dec 2023 10:08:02 +0000 (11:08 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 5 Jan 2024 08:33:10 +0000 (09:33 +0100)
commitc2e64baac4f36f7e0365218c7523bb9ba4639250
treece5b99a1a8f36781c7701bb02168dccbca4828e7
parent881791886bfa8e353c3203f95bfbaaeee25d2d50
pwm: Add pwm_apply_state() compatibility stub

In order to make the transition to the new pwm_apply_might_sleep() a bit
smoother, add a compatibility stub. This will prevent new calls to the
old function introduced via other subsystems from breaking builds. Once
the next merge window has closed we can take another stab at removing
the stub.

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