summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2017-02-08 14:46:30 +0100
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-02-26 17:01:07 +0200
commitc1d1e8a051761fb808308dab32b9351e1d1fbb9b (patch)
tree6538ccf1a3331795a2695fb894b449ee1fffb0a5 /include
parent8c590e339f37022dff209ef16cf699531df1a0ca (diff)
downloadlinux-stable-c1d1e8a051761fb808308dab32b9351e1d1fbb9b.tar.gz
linux-stable-c1d1e8a051761fb808308dab32b9351e1d1fbb9b.tar.bz2
linux-stable-c1d1e8a051761fb808308dab32b9351e1d1fbb9b.zip
platform/x86: fujitsu-laptop: simplify acpi_bus_register_driver() error handling
A separate variable is not needed to handle error codes returned by acpi_bus_register_driver(). If the latter fails, just use the value it returned as the value returned by fujitsu_init(). Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> [kempniu: rebase patch, rewrite commit message] Signed-off-by: Michał Kępień <kernel@kempniu.pl> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions