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>
Tue, 27 Jul 2021 14:50:16 +0000 (10:50 -0400)
commit3ce4c15f597a030828915a89620b83015197068f
tree0843c2ea0004d3b01e9fa68d5f26b10ee59f6c19
parent19c862fd87bafa5194ff265a371a78015765e98e
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