]> git.baikalelectronics.ru Git - kernel.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)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:39 +0000 (01:40 -0300)
commit0288f099043ed4956c21931fdd85f870becf9ff1
tree0cf367b9ffea5ce863ff4a4af2bb05f45d4e5311
parent7b29dfae3d4e528458b66317738b9a0911fdc47e
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