]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Create HCI device debugfs directory in hci_register_dev
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 00:24:17 +0000 (17:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:45:45 +0000 (10:45 +0300)
commitb605d0382796748950a2983dfb48d3c19e71b6ec
tree40b5ea1fabd7ff59a7708060f54cbc8179cf0136
parent04409eab00063917e69e777459774f5a9c37cc64
Bluetooth: Create HCI device debugfs directory in hci_register_dev

Create the debugfs directory for each HCI device directly in
hci_register_dev function and remove it during hci_unregister_dev.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c
net/bluetooth/hci_sysfs.c