# Re: \[PATCH v6 1/4\] pwm: rename pwm\_apply\_state() to pwm\_apply\_might\_sleep()

- From: Sean Young \<sean@mess.org\>
- Date: 2023-12-11 08:30:18 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2023/12/2428609
- Thread: https://ratatoskr.run/linux-media/2023/11/8455172/t.md

```text
On Sat, Dec 09, 2023 at 02:57:42PM +0100, Uwe Kleine-König wrote:
> On Wed, Nov 29, 2023 at 09:13:34AM +0000, Sean Young wrote:
> > 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: Hans de Goede <redacted>
> > Acked-by: Jani Nikula <redacted>
> > Acked-by: Lee Jones <lee@kernel.org>
> > Signed-off-by: Sean Young <sean@mess.org>
> 
> Not a in-detail-review, but I just noticed again, that we have
> 
> 	K:      pwm_(config|apply_state|ops)
> 
> in MAINTAINERS. That one needs adaption, too.

Fixed in v7.

Thanks,

Sean
```
