diff options
author | 2023-10-20 16:55:19 +0800 | |
---|---|---|
committer | 2023-10-28 09:21:36 -0700 | |
commit | b92b2984a5b62099ab7731bc3a30a0d7c83a01d4 (patch) | |
tree | cb063573b6b87553a0106723c275eb4e073b4b66 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (hs3001) remove redundant store on division (diff) | |
download | wireguard-linux-b92b2984a5b62099ab7731bc3a30a0d7c83a01d4.tar.xz wireguard-linux-b92b2984a5b62099ab7731bc3a30a0d7c83a01d4.zip |
hwmon: (npcm750-pwm) Add an error code check in npcm7xx_en_pwm_fan
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@nfschina.com>
Link: https://lore.kernel.org/r/20231020085518.198477-1-suhui@nfschina.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions