UPSTREAM: seq_file: Introduce DEFINE_SHOW_ATTRIBUTE() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Jan 2018 16:05:43 +0000 (18:05 +0200)
committerNolen Johnson <johnsonnolen@gmail.com>
Wed, 22 Dec 2021 02:21:18 +0000 (21:21 -0500)
commit960023b82d56d37d97a848da591e902f5b91f1e0
treed0289cb51dcbf6323fa5f2daa3216855038002bb
parentd3dbd10c995baeaa7233dd479c78c5f7ee2b297c
UPSTREAM: 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>
Bug: 136497735
(cherry picked from commit a08f06bb7a0743a7fc8d571899c93d882468096e)
Change-Id: Ib60cf57dc5e979915a83848919644150d82e7058
Signed-off-by: Hridya Valsaraju <hridya@google.com>
include/linux/seq_file.h