Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pwm: Drop pwm_apply_state()

This function is not supposed to be used any more since commit
c748a6d77c06 ("pwm: Rename pwm_apply_state() to
pwm_apply_might_sleep()") that is included in v6.8-rc1. Two kernel
releases should be enough for everyone to adapt, so drop the old
function that was introduced as a compatibility stub for the transition.

Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

-7
-7
include/linux/pwm.h
··· 563 563 pwm_apply_might_sleep(pwm, &state); 564 564 } 565 565 566 - /* only for backwards-compatibility, new code should not use this */ 567 - static inline int pwm_apply_state(struct pwm_device *pwm, 568 - const struct pwm_state *state) 569 - { 570 - return pwm_apply_might_sleep(pwm, state); 571 - } 572 - 573 566 struct pwm_lookup { 574 567 struct list_head list; 575 568 const char *provider;