diff options
author | Sean Young <sean@mess.org> | 2023-12-19 17:30:24 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-12-20 16:07:04 +0100 |
commit | c748a6d77c06a78651030e17da6beb278a1c9470 (patch) | |
tree | e858d2200f87189a80b0aeeeb68d96a449b63a11 /drivers/media/rc/keymaps/rc-terratec-slim-2.c | |
parent | pwm: Stop referencing pwm->chip (diff) | |
download | linux-c748a6d77c06a78651030e17da6beb278a1c9470.tar.xz linux-c748a6d77c06a78651030e17da6beb278a1c9470.zip |
pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
In order to introduce a pwm api which can be used from atomic context,
we will need two functions for applying pwm changes:
int pwm_apply_might_sleep(struct pwm *, struct pwm_state *);
int pwm_apply_atomic(struct pwm *, struct pwm_state *);
This commit just deals with renaming pwm_apply_state(), a following
commit will introduce the pwm_apply_atomic() function.
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # for input
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-terratec-slim-2.c')
0 files changed, 0 insertions, 0 deletions