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)
commitc21ee12f460c33fcc12fe162c9ab98f3c58073aa
tree2bf1813ef27db7d7bd795d90495c5c81cbc70e89
parentf9cf3b2880cc41ec2b44aa24fa156bffe934f9c7
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