]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: reuse DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Jul 2018 07:23:41 +0000 (10:23 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Jul 2018 05:58:06 +0000 (22:58 -0700)
commitae9229e452edad39f8960088b4556421be548478
tree2d6ebb63a5eb5eddd8ec016b992aa772085cc78b
parent6dc3d91aa2c273bc6116aa3ef3d1b2d75caf2c97
ARM: OMAP2+: reuse DEFINE_SHOW_ATTRIBUTE() macro

Reuse DEFINE_SHOW_ATTRIBUTE() macro instead of open coding file
operations followed by custom ->open() callbacks per each attribute.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm-debug.c