Bluetooth: introduce DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Nov 2017 21:15:46 +0000 (23:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Dec 2017 19:20:34 +0000 (20:20 +0100)
commit22b371cbb949e1c8ee4accfead5ee9f3e7f0c114
tree46d341ac93f93753e278033e08a0facc1b5df165
parent479f335c1b24b98fd1daae024d2f5d7cc355f1fc
Bluetooth: introduce DEFINE_SHOW_ATTRIBUTE() macro

This macro deduplicates a lot of similar code across the hci_debugfs.c
module. Targeting to be moved to seq_file.h eventually.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_debugfs.c