]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: pmc_atom: introduce DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Dec 2017 14:29:07 +0000 (16:29 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 21 Dec 2017 12:56:26 +0000 (14:56 +0200)
commit6bcc53b4b10312df32a7af9c615cbb1099cdbe31
treea21e198e7f0408a77b8fa8437b18e69195574e48
parent6929bb408d6436b414f104d7c0591bb56a6530c1
platform/x86: pmc_atom: introduce DEFINE_SHOW_ATTRIBUTE() macro

This macro deduplicates a lot of similar code in the pmc_atom.c module.
Targeting to be moved to seq_file.h eventually.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/pmc_atom.c