From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752925AbbCYUTZ (ORCPT ); Wed, 25 Mar 2015 16:19:25 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:33998 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752301AbbCYUTX (ORCPT ); Wed, 25 Mar 2015 16:19:23 -0400 From: Azael Avalos To: Darren Hart , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Azael Avalos Subject: [PATCH v2 0/4] toshiba_bluetooth: Clean up driver plus a bugfix Date: Wed, 25 Mar 2015 14:19:13 -0600 Message-Id: <1427314757-18232-1-git-send-email-coproscefalo@gmail.com> X-Mailer: git-send-email 2.2.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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