commit | 18b8696b66d79024649c895d4a5b7da4f268300e | [log] [tgz] |
---|---|---|
author | Azael Avalos <coproscefalo@gmail.com> | Thu Mar 26 14:56:06 2015 -0600 |
committer | Darren Hart <dvhart@linux.intel.com> | Thu Mar 26 14:15:07 2015 -0700 |
tree | bbd34a200847671d000deb29a245e1d98011d127 | |
parent | bb2ea96b4840fb244e74ed7c470a3ec88e5b084a [diff] |
toshiba_bluetooth: Clean up *_add function and disable BT device at removal This patch cleans the toshiba_bluetooth_add function by using the recently introduced function toshiba_bluetooth_present, simplifying its code and returning appropriate error values. Also, disables the BT device at the removal of the driver, by using the function toshiba_bluetooth_disable. Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>