These patches introduce three new functions, cleaning up the driver code, checking for errors and returning accordingly, and also fixes bug 93911. Changes since v2: - Merged patches 2-3 into one - Added a comment block explaining a bit why we added an extra check to the status of the device Changes since v1: - Removed pr_info calls from *_notify function - Added checks to the status of the BT device removing the TODO comment and retaining the previous functionality of the driver Azael Avalos (3): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up *_add function and disable BT device at removal toshiba_bluetooth: Fix enabling/disabling loop on recent devices drivers/platform/x86/toshiba_bluetooth.c | 133 ++++++++++++++++++++++++------- 1 file changed, 104 insertions(+), 29 deletions(-) -- 2.2.2 -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html