]> git.karo-electronics.de Git - linux-beck.git/commit
compal-laptop: Replace SENSOR_DEVICE_ATTR with DEVICE_ATTR
authorGuenter Roeck <linux@roeck-us.net>
Sat, 23 Nov 2013 19:03:18 +0000 (11:03 -0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Tue, 21 Jan 2014 13:44:03 +0000 (08:44 -0500)
commit4e062581cc95cc0a12f8e48778a0d3ebb48fa980
tree0392b9e7e3d16025a1f502ce41a68e5d07beadb8
parentf0c34c97b3193fee87a3942047c415d476615db1
compal-laptop: Replace SENSOR_DEVICE_ATTR with DEVICE_ATTR

The extra argument to SENSOR_DEVICE_ATTR is not used. It is therefore not
necessary to use SENSOR_DEVICE_ATTR in the first place. Replace it with
DEVICE_ATTR.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/compal-laptop.c