]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 22 Apr 2012 13:45:47 +0000 (15:45 +0200)
commit3947b5d57befde7408d6cda42c7101e7c6c56d73
tree6cbe158a5c3336afded9739a4358a527a84eadbb
parentb223f79b5fd50ce51ceb5bc5c8e6ef539daa2890
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