]> 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)
commit4715c60adeb0df3cb5089b9986fecc1c586f9bd8
treea21e198e7f0408a77b8fa8437b18e69195574e48
parentd7292c429ad98a6527206e29821a0fb821ec9b68
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