[PATCH] watchdog: npcm: Remove unnecessary NULL check before clk_prepare_enable/clk_disable_unprepare

Guenter Roeck linux at roeck-us.net
Sun Mar 16 13:21:44 AEDT 2025


On 3/13/25 01:44, Chen Ni wrote:
> clk_prepare_enable() and clk_disable_unprepare() already checked
> NULL clock parameter.Remove unneeded NULL check for clk here.
> 
> Signed-off-by: Chen Ni <nichen at iscas.ac.cn>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>



More information about the openbmc mailing list