OSDN Git Service

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)
commit1ea74a560c7b5bf94fe41818f04dedcefcd17b55
treea21e198e7f0408a77b8fa8437b18e69195574e48
parentf1905b980f27e40ef28667949667e156e96611fb
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