Bluetooth: Move hci_alloc/free_dev close to hci_register/unregister_dev
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 22 Apr 2012 12:39:57 +0000 (14:39 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:39 +0000 (01:40 -0300)
commit9be0dab793f52615274c357fce542b3cbf78f6d7
tree0cf367b9ffea5ce863ff4a4af2bb05f45d4e5311
parentfb3340594bd6630c27e31ddeff25b7002fb4558e
Bluetooth: Move hci_alloc/free_dev close to hci_register/unregister_dev

alloc() and register() (and free() and unregister()) are closely related
so move them more closely together. This will also allow to move
functionality from register() to alloc() without needing
forward-declarations.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c