commit | 7bb5ee0169b80d40aa7d4854c07f1c2a90efc5b8 | [log] [tgz] |
---|---|---|
author | Kyle McMartin <kyle@mcmartin.ca> | Mon Apr 02 14:19:04 2012 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun May 20 19:41:49 2012 -0700 |
tree | 4bf1bc45ca14c228515ab3dc8e25bf04e8d5b909 | |
parent | 9fe789f88ae5488d8b8af1c4c962e619ed05bb2e [diff] |
acpi_power_meter: clean up code around setup_attrs We don't need to duplicate if (res) checks if we're always running one or the other. Signed-off-by: Kyle McMartin <kyle@redhat.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>