]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7cd5a18a6720ad4c1f5992ab78792af102ca3d4
tree8342c38bc031b2287f2934be740c6991feea5069
parent75a1554745aaa13ca3250bb9e0bad8a4d1e8c57c
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