UPSTREAM: 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)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Sun, 12 Feb 2023 08:13:15 +0000 (09:13 +0100)
commit6b9a49e33cad9af951620c2f8417b721c5e08854
treed6b096e7199b3a7a0db23e3638cc336ee8d9262d
parentb0b33ba7a665dee68ad36bc432bdd091017346f1
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