acpi_power_meter: use a {RW,RO}_SENSOR_TEMPLATE macro to clean things up
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 2 Apr 2012 18:19:01 +0000 (14:19 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 21 May 2012 02:41:48 +0000 (19:41 -0700)
commit3c45f2c78db21f4676287df19c89343acf04e7ef
tree64745a4cfd39bf11851f6e378340dc9b7f09c59a
parent81194cd24051eb3476f3ae853cc892e6d3a77bd7
acpi_power_meter: use a {RW,RO}_SENSOR_TEMPLATE macro to clean things up

Similar to how we do PCI/USB device id structs.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/acpi_power_meter.c