diff options
| author | Armin Wolf <[email protected]> | 2023-07-07 03:03:32 +0200 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-07-11 12:15:30 +0200 |
| commit | 8c4893837554687addae919998b0f3de23a514dc (patch) | |
| tree | 66be75e8306c7e46aee50097deb5eed348339472 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5d3acd9d7a44ad9902e98e57013f028d5f4fc86c (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions