alistair23-linux/drivers/platform
Michał Kępień 30943e1484 platform/x86: fujitsu-laptop: do not log LED registration failures
If acpi_fujitsu_laptop_leds_register() returns an error, the latter will
become the return value of acpi_fujitsu_laptop_add(), which in turn will
be reported by driver core.  Simplify code by replacing pr_err() calls
with return statements.  Return 0 instead of result when no errors occur
in order to make the code easier to read.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
2017-04-19 12:57:25 -07:00
..
chrome - Core Frameworks 2017-02-23 08:18:01 -08:00
goldfish goldfish: Sanitize the broken interrupt handler 2017-02-15 08:49:58 -08:00
mips
olpc
x86 platform/x86: fujitsu-laptop: do not log LED registration failures 2017-04-19 12:57:25 -07:00
Kconfig
Makefile