[PATCH v6 1/4] pwm: rename pwm_apply_state() to pwm_apply_might_sleep()

Sean Young sean at mess.org
Mon Dec 11 08:30:10 UTC 2023


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 <hdegoede at redhat.com>
> > Acked-by: Jani Nikula <jani.nikula at intel.com>
> > Acked-by: Lee Jones <lee at kernel.org>
> > Signed-off-by: Sean Young <sean at 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


More information about the dri-devel mailing list