commit | f49d6a7ed2406b0c9b1c134f2e9aa4426a5266f0 | [log] [tgz] |
---|---|---|
author | Kyle McMartin <kyle@mcmartin.ca> | Mon Apr 02 14:19:02 2012 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun May 20 19:41:48 2012 -0700 |
tree | 60a788dfcd2242ef46dcb32f5d12a92872cfc2f3 | |
parent | 3c45f2c78db21f4676287df19c89343acf04e7ef [diff] |
acpi_power_meter: remove duplicate code between register_{ro,rw}_attrs Key off the attr->set method being present to set the sysfs attribute as writable. Signed-off-by: Kyle McMartin <kyle@redhat.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>