toshiba_haps: Make use of DEVICE_ATTR_{RW, WO} macros
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 26 Feb 2015 17:58:31 +0000 (10:58 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 11 May 2015 17:38:22 +0000 (10:38 -0700)
commit7dd62c0178ceae1d2bf5d8b88941314ec6eeca0a
tree431c5b7f2ed51c1a8ed5d4db974df29c67c3e460
parenta882003714ec94a3108b47ea5c0cf2a6ec1f3e98
toshiba_haps: Make use of DEVICE_ATTR_{RW, WO} macros

This patch makes use of DEVICE_ATTR_{RW, WO} macros, simplifying
device attributes creation.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_haps.c