diff options
author | Michał Kępień <kernel@kempniu.pl> | 2017-01-09 14:14:16 +0100 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2017-02-04 02:46:38 +0100 |
commit | dcb50b351646c3549fc28b5857d1414ec6487615 (patch) | |
tree | 8c2e31143d7bbba658416dc4ba97e1ee322407a3 /mm | |
parent | 9893ae86066cf0a59a6beb3908b9cdac4c1347f3 (diff) |
platform/x86: fujitsu-laptop: rework logolamp_set() to properly handle errors
Potential errors returned by some call_fext_func() calls inside
logolamp_set() are currently ignored. Rework logolamp_set() to properly
handle them. This causes one more call_fext_func() call to be made in
the LED_OFF case, though one could argue that this is logically the
right thing to do (even though the extra call is not needed to shut the
LED off).
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions