Re: [PATCH] drivers: pwm: remove redundant check in pwm_ops_check()
From: Ben Zong-You Xie
Date: Fri Jan 30 2026 - 00:12:31 EST
On Thu, Jan 29, 2026 at 08:19:00AM +0100, Uwe Kleine-König wrote:
> I would rewrite the commit log to:
>
> pwm: Remove redundant check in pwm_ops_check()
>
> ops->write_waveform is already known to be non-NULL so there is
> no need to check it a second time.
>
> The superflous check was introduced in commit 17e40c25158f
> ("pwm: New abstraction for PWM waveforms").
>
> Signed-off-by: Ben Zong-You Xie <ben717@xxxxxxxxxxxxx>
>
> to make the change more clear and also to not bother the stable team
> with backporting the commit to stable.
>
> Please confirm if you're ok with this change, then I cope for the update
> while applying your change.
>
> Best regards
> Uwe
Hi Uwe,
I'm ok with the change, and thank you for the review.
Best regards,
Ben