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>
Showing
Please register or sign in to comment