]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: dell-laptop: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Jan 2018 16:05:44 +0000 (18:05 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Feb 2018 10:50:22 +0000 (12:50 +0200)
commited535ad7105bc118f83371c7d3b4678e739a6721
tree769289db88e7e4f0006a88076aaaed589e0009fb
parentb08a9d31bebb88bcabb72f7b834f8191e0bd0c73
platform/x86: dell-laptop: Re-use 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>
drivers/platform/x86/dell-laptop.c