Bluetooth: Add skeleton functions for debugfs creation
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 20 Dec 2014 15:05:13 +0000 (16:05 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 20 Dec 2014 15:50:34 +0000 (17:50 +0200)
commit60c5f5fb1f8640cb050822512246b79a68914145
treebc76be896f5f86ed8238adead6b3580dabf6cbb0
parent50b5b952b7c2bf2c75c257a62a6c456a0bbfdfa3
Bluetooth: Add skeleton functions for debugfs creation

The debugfs file creation has been part of the core initialization
handling of controllers. With the introduction of Bluetooth 4.2 core
specification, the number of debugfs files is increasing even further.

To avoid cluttering the core controller handling, create a separate
file hci_debugfs.c to centralize all debugfs file creation. For now
leave the current files in the core, but in the future all debugfs
file creation will be moved.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/Makefile
net/bluetooth/hci_core.c
net/bluetooth/hci_debugfs.c [new file with mode: 0644]
net/bluetooth/hci_debugfs.h [new file with mode: 0644]