diff options
author | 2023-07-07 03:03:32 +0200 | |
---|---|---|
committer | 2023-07-11 12:15:30 +0200 | |
commit | 8c4893837554687addae919998b0f3de23a514dc (patch) | |
tree | 66be75e8306c7e46aee50097deb5eed348339472 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86/amd: pmf: Add new ACPI ID AMDI0103 (diff) | |
download | wireguard-linux-8c4893837554687addae919998b0f3de23a514dc.tar.xz wireguard-linux-8c4893837554687addae919998b0f3de23a514dc.zip |
platform/x86: dell-ddv: Improve error handling
If for some reason a external function returns -ENODEV,
no error message is being displayed because the driver
assumes that -ENODEV can only be returned internally if
no sensors, etc where found.
Fix this by explicitly returning 0 in such a case since
missing hardware is no error. Also remove the now obsolete
check for -ENODEV.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230707010333.12954-1-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions