seq_file: Introduce DEFINE_SHOW_ATTRIBUTE() helper macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Jan 2018 16:05:43 +0000 (18:05 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Feb 2018 10:50:21 +0000 (12:50 +0200)
commita08f06bb7a0743a7fc8d571899c93d882468096e
tree27168380ec79b56895dbce004ffe940d0065450d
parenta2e5790d841658485d642196dbb0927303d6c22f
seq_file: Introduce DEFINE_SHOW_ATTRIBUTE() helper macro

The DEFINE_SHOW_ATTRIBUTE() helper macro would be useful for current
users, which are many of them, and for new comers to decrease code
duplication.

Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/mfd/ab8500-debugfs.c
drivers/platform/x86/pmc_atom.c
include/linux/seq_file.h
net/bluetooth/hci_debugfs.c