Re: [PATCH] hwmon: npcm750-pwm: add an error code check in npcm7xx_en_pwm_fan
From: Guenter Roeck
Date: Wed Oct 25 2023 - 15:36:57 EST
On Fri, Oct 20, 2023 at 04:55:19PM +0800, Su Hui wrote:
> npcm7xx_pwm_config_set() can return '-ENODEV' for failed. So check
> the value of 'ret' after calling npcm7xx_pwm_config_set().
>
> Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>
Applied.
Thanks,
Guenter