Commits
Kyle McMartin committed f49d6a7ed24
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>