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)
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>

No differences found