summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_bcsp.c
diff options
context:
space:
mode:
authorMarcel Holtmann2015-04-05 07:27:35 +0200
committerMarcel Holtmann2015-04-07 18:47:10 +0200
commit01009eec70a7d80773267b34522b0bb1208a73e9 (patch)
tree0a367519f7aa019036fa3dfe2a6a2ff94ae2daaa /drivers/bluetooth/hci_bcsp.c
parentBluetooth: hci_uart: Add name information to hci_uart_proto struct (diff)
downloadkernel-qcow2-linux-01009eec70a7d80773267b34522b0bb1208a73e9.tar.gz
kernel-qcow2-linux-01009eec70a7d80773267b34522b0bb1208a73e9.tar.xz
kernel-qcow2-linux-01009eec70a7d80773267b34522b0bb1208a73e9.zip
Bluetooth: hci_uart: Remove the manual protocol init message
The init function for each HCI UART protocol prints the same on success and failure. This information is so generic, remove it and let the main HCI UART handling print it instead. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_bcsp.c')
-rw-r--r--drivers/bluetooth/hci_bcsp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/bluetooth/hci_bcsp.c b/drivers/bluetooth/hci_bcsp.c
index 285fd0a97311..a467aa28009a 100644
--- a/drivers/bluetooth/hci_bcsp.c
+++ b/drivers/bluetooth/hci_bcsp.c
@@ -748,14 +748,7 @@ static const struct hci_uart_proto bcsp = {
int __init bcsp_init(void)
{
- int err = hci_uart_register_proto(&bcsp);
-
- if (!err)
- BT_INFO("HCI BCSP protocol initialized");
- else
- BT_ERR("HCI BCSP protocol registration failed");
-
- return err;
+ return hci_uart_register_proto(&bcsp);
}
int __exit bcsp_deinit(void)