thinkpad_acpi: use DEVICE_ATTR_* macros
authorBastien Nocera <hadess@hadess.net>
Mon, 2 Mar 2015 17:40:50 +0000 (18:40 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 3 Mar 2015 17:03:31 +0000 (09:03 -0800)
commitb4dd04ac6ef88259ddb59ca809ca5845c7892139
tree0fdf2f431e4f0a67a61bc906ee44610e8d913239
parent6a68d855708497c542d57a82a5f8e3a513a65a82
thinkpad_acpi: use DEVICE_ATTR_* macros

Use the DEVICE_ATTR_* macros to reduce boiler plate.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c