summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann2013-10-18 02:24:19 +0200
committerJohan Hedberg2013-10-18 09:46:54 +0200
commitbdc3e0f1d2019fbf89f150ed98860b1a7a762fe9 (patch)
tree8342c38bc031b2287f2934be740c6991feea5069 /include/net
parentBluetooth: Create root debugfs directory during module init (diff)
downloadkernel-qcow2-linux-bdc3e0f1d2019fbf89f150ed98860b1a7a762fe9.tar.gz
kernel-qcow2-linux-bdc3e0f1d2019fbf89f150ed98860b1a7a762fe9.tar.xz
kernel-qcow2-linux-bdc3e0f1d2019fbf89f150ed98860b1a7a762fe9.zip
Bluetooth: Move device_add handling into hci_register_dev
The device_add handling can be done directly in hci_register_dev and device_remove within hci_unregister_dev. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index c6becda8c466..9b5db01bd1a2 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -768,8 +768,6 @@ int hci_recv_fragment(struct hci_dev *hdev, int type, void *data, int count);
int hci_recv_stream_fragment(struct hci_dev *hdev, void *data, int count);
void hci_init_sysfs(struct hci_dev *hdev);
-int hci_add_sysfs(struct hci_dev *hdev);
-void hci_del_sysfs(struct hci_dev *hdev);
void hci_conn_init_sysfs(struct hci_conn *conn);
void hci_conn_add_sysfs(struct hci_conn *conn);
void hci_conn_del_sysfs(struct hci_conn *conn);