diff options
author | David Herrmann | 2011-10-08 14:58:48 +0200 |
---|---|---|
committer | Gustavo F. Padovan | 2011-10-14 20:22:38 +0200 |
commit | ce242970f0934869483221c410d09c00bc8967e7 (patch) | |
tree | 24d27be1e616622b28e7389b2ac512e7db402673 /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Fix hci core device initialization (diff) | |
download | kernel-qcow2-linux-ce242970f0934869483221c410d09c00bc8967e7.tar.gz kernel-qcow2-linux-ce242970f0934869483221c410d09c00bc8967e7.tar.xz kernel-qcow2-linux-ce242970f0934869483221c410d09c00bc8967e7.zip |
Bluetooth: Rename sysfs un/register to add/del
As we introduced hci_init_sysfs() we should also rename
hci_register_sysfs() and hci_unregister_sysfs() to hci_add_sysfs() and
hci_del_sysfs() like we do with hci_conn_add/del_sysfs(). It looks more
consistent now.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index c8cc23c5c936..119b795b2850 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -609,8 +609,8 @@ 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_register_sysfs(struct hci_dev *hdev); -void hci_unregister_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); |