]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ecde4f6d3b192d16efdc840adc941cf51e1efde
tree98b8bfa135f855a8e2a608912e4416dc54aabf26
parent2609b996b85031ff7065b509be072d0e913645af
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