summaryrefslogtreecommitdiffstats
path: root/Documentation/wmi
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2023-07-07 03:03:32 +0200
committerHans de Goede <hdegoede@redhat.com>2023-07-11 12:15:30 +0200
commit8c4893837554687addae919998b0f3de23a514dc (patch)
tree66be75e8306c7e46aee50097deb5eed348339472 /Documentation/wmi
parent5d3acd9d7a44ad9902e98e57013f028d5f4fc86c (diff)
downloadlinux-stable-8c4893837554687addae919998b0f3de23a514dc.tar.gz
linux-stable-8c4893837554687addae919998b0f3de23a514dc.tar.bz2
linux-stable-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 'Documentation/wmi')
0 files changed, 0 insertions, 0 deletions