aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h5.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-05 01:27:35 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 12:47:10 -0400
commit01009eec70a7d80773267b34522b0bb1208a73e9 (patch)
tree0a367519f7aa019036fa3dfe2a6a2ff94ae2daaa /drivers/bluetooth/hci_h5.c
parent7c40fb8db135288485f4f6226ceb69d64610a84e (diff)
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_h5.c')
-rw-r--r--drivers/bluetooth/hci_h5.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index de7da17ccdab..3455cecc9ecf 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -756,14 +756,7 @@ static const struct hci_uart_proto h5p = {
756 756
757int __init h5_init(void) 757int __init h5_init(void)
758{ 758{
759 int err = hci_uart_register_proto(&h5p); 759 return hci_uart_register_proto(&h5p);
760
761 if (!err)
762 BT_INFO("HCI Three-wire UART (H5) protocol initialized");
763 else
764 BT_ERR("HCI Three-wire UART (H5) protocol init failed");
765
766 return err;
767} 760}
768 761
769int __exit h5_deinit(void) 762int __exit h5_deinit(void)