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)
commit0153e2ecab657be17aaecca234b29c1154a98202
tree40b5ea1fabd7ff59a7708060f54cbc8179cf0136
parent1120e4bfa5f9c28cb55d815ab3c6bed81dfc595c
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