]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4eeebb53fd07aaec91b43f06b702b77836febf5
tree46d341ac93f93753e278033e08a0facc1b5df165
parent682f3dfe9fe178ec70f6927c964ce878947387e2
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