toshiba_acpi: Add WWAN RFKill support
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 23 Nov 2015 17:49:11 +0000 (10:49 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 23 Nov 2015 20:58:33 +0000 (12:58 -0800)
commit2fdde83443aa84b2a163dbcc5165f8139845b15e
treea511bc934c7178053d834e3149143ea9135c74b7
parent6873f46a630c48a1fa5ef09ec830c9bb2b2de8dd
toshiba_acpi: Add WWAN RFKill support

A previuos patch added WWAN support to the driver, allowing to query
and set the device status.

This patch adds RFKill support for the recently introduced WWAN device,
making use of the WWAN and *wireless_status functions to query the
killswitch and (de)activate the device accordingly to its status.

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