]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb08a9d31bebb88bcabb72f7b834f8191e0bd0c73
tree27168380ec79b56895dbce004ffe940d0065450d
parentc610658d07079e176d736053d885c64f033c2018
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