]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
toshiba_acpi: Change HCI/SCI functions return code type
authorAzael Avalos <coproscefalo@gmail.com>
Tue, 30 Sep 2014 02:40:09 +0000 (20:40 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 30 Sep 2014 20:51:08 +0000 (13:51 -0700)
commit893f3f62dc7ade3700cdceed23ce38bb92e3966b
tree0bce8ec369de341a56b6315faeb8971e04934016
parent1864bbc207756c8a3e6e3fe585c11853d28a579a
toshiba_acpi: Change HCI/SCI functions return code type

Currently the HCI/SCI read/write functions are returning
the status of the ACPI call and also assigning the
returned value of the HCI/SCI function, however, only
the HCI/SCI status is being checked.

This patch changes such functions, returning the value
of the HCI/SCI function instead of the ACPI call status,
eliminating one parameter, and returning something
useful that indeed is being checked.

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