From: Azael Avalos Date: Thu, 26 Mar 2015 20:56:06 +0000 (-0600) Subject: toshiba_bluetooth: Clean up *_add function and disable BT device at removal X-Git-Tag: omap-for-v4.1/fixes-rc1~23^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b8696b66d79024649c895d4a5b7da4f268300e;p=pandora-kernel.git 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 Signed-off-by: Darren Hart --- Reading git-diff-tree failed