]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi_power_meter: drop meter_rw_attrs, use common meter_attrs
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 2 Apr 2012 18:19:03 +0000 (14:19 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 9 Apr 2012 19:18:54 +0000 (12:18 -0700)
commitf2cfba1321aa71569b32bf59d61ab941c0f41e38
tree3764048de847f3f8260348e1e9af030095af1d6f
parentb0bc62f98e906d71d31eccdf8b0fa86faf137900
acpi_power_meter: drop meter_rw_attrs, use common meter_attrs

We always register these two together, so move meter_rw_attrs into
meter_ro_attrs and use the same for both since we no longer have two
register_attr paths.

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