summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAzael Avalos <coproscefalo@gmail.com>2015-07-31 21:58:12 -0600
committerDarren Hart <dvhart@linux.intel.com>2015-08-05 02:08:02 -0700
commitea215a3f909c570521a9cc276163837ffa2c621a (patch)
tree5a9380761b743740fedec1fc3649bdf46df66350 /net
parent3e07e5baa2af166a6f38a51e14ff036c341a57c7 (diff)
downloadlwn-ea215a3f909c570521a9cc276163837ffa2c621a.tar.gz
lwn-ea215a3f909c570521a9cc276163837ffa2c621a.zip
toshiba_acpi: Change *available functions return type
This patch changes the *available functions return type from int to void. The checks for support of their respective features are done inside such functions and there was no need to return anything as we can flag the queried feature as supported inside these functions. The code was adapted accordingly to these changes and two new variables were created and another was changed from uint to bool. Also, the function toshiba_acceleremoter_supported was renamed to toshiba_accelerometer_available to maintain the naming consistency on the driver. Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions