+1
−2
Loading
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 17e40c25 ("pwm: New abstraction for PWM waveforms"). Signed-off-by:Ben Zong-You Xie <ben717@andestech.com> Link: https://patch.msgid.link/20260129-fix-pwm-ops-check-v1-1-6f0b7952c875@andestech.com Signed-off-by:
Uwe Kleine-König <ukleinek@kernel.org>