toshiba_bluetooth: Adapt *_enable, *_notify and *_resume functions to rfkill
authorAzael Avalos <coproscefalo@gmail.com>
Sun, 3 May 2015 23:42:08 +0000 (17:42 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 6 May 2015 22:12:40 +0000 (15:12 -0700)
commitd85b11b1a4bee3146540111ef15b5ca1eeb71645
tree98b8bfa135f855a8e2a608912e4416dc54aabf26
parent7ee8cd3319d5e57b1b5e2b348f078af44e67a577
toshiba_bluetooth: Adapt *_enable, *_notify and *_resume functions to rfkill

This patch adapts toshiba_bluetooth_enable, toshiba_bt_rfkill_notify
and toshiba_bt_resume functions to rfkill.

The *_enable function was cleaned from code that the rfkill code now
provides, and the other two functions were modified to update the rfkill
switch status, as they were only calling toshiba_bluetooth_enable.

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