These patches introduce three new functions, cleaning up the driver code, checking for errors and returning accordingly, and also fixes bug 93911. 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 (4): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up *_add function and disable BT device at removal toshiba_bluetooth: Clean toshiba_bluetooth_enable function toshiba_bluetooth: Remove BT enable code from *_notify function drivers/platform/x86/toshiba_bluetooth.c | 139 +++++++++++++++++++++++-------- 1 file changed, 103 insertions(+), 36 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