Bluetooth: Move device_add handling into hci_register_dev
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 00:24:19 +0000 (17:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:46:54 +0000 (10:46 +0300)
commitbdc3e0f1d2019fbf89f150ed98860b1a7a762fe9
tree8342c38bc031b2287f2934be740c6991feea5069
parentffcecac6a7380af84d4c1d676a6c3c524d31eeda
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_sysfs.c