]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: hp-wmi: Use DEVICE_ATTR_(RO|RW) helper macros
authorDarren Hart (VMware) <dvhart@infradead.org>
Thu, 20 Apr 2017 00:26:38 +0000 (17:26 -0700)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 20 Apr 2017 20:26:17 +0000 (13:26 -0700)
commit6cf112ec7e74090a6a81ae29699173e40243109c
tree2bf1813ef27db7d7bd795d90495c5c81cbc70e89
parenta8dd8f0a75848f9ff6e42dd7aae4ad6c1638901a
platform/x86: hp-wmi: Use DEVICE_ATTR_(RO|RW) helper macros

Use the DEVICE_ATTR_(RO|RW) macros, ranaming the show and store
functions accordingly.

Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Tested-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/platform/x86/hp-wmi.c