]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
toshiba_acpi: Remove unnecessary checks and returns in HCI/SCI functions
authorAzael Avalos <coproscefalo@gmail.com>
Sat, 1 Aug 2015 03:58:15 +0000 (21:58 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 5 Aug 2015 09:09:15 +0000 (02:09 -0700)
commita6b5354f422a1f1cd48a94ed64e54989f9ea7ee2
treed3f9ae3930895ef087c364777fba35620f19a4de
parente1a949c1b9883d1d0586b0cbdd2c0cc3f55514bd
toshiba_acpi: Remove unnecessary checks and returns in HCI/SCI functions

A previous patch added explicit feature checks for support, *SUCCESS*
and *FAILURE to the HCI/SCI *{get, set} functions.

This patch removes some unnedded checks to the driver HCI/SCI
functions given that the default error return value is now set to
-EIO, there is no need to check for other error values other than
the ones currently checking for.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c