diff options
author | Su Hui <suhui@nfschina.com> | 2023-10-20 11:55:19 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-10-28 19:21:36 +0300 |
commit | b92b2984a5b62099ab7731bc3a30a0d7c83a01d4 (patch) | |
tree | cb063573b6b87553a0106723c275eb4e073b4b66 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 748465a53eedbc2c440ac07f6b2328de6263dbfd (diff) | |
download | linux-b92b2984a5b62099ab7731bc3a30a0d7c83a01d4.tar.xz |
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