diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2012-04-02 20:19:04 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-05-21 04:41:49 +0200 |
commit | 7bb5ee0169b80d40aa7d4854c07f1c2a90efc5b8 (patch) | |
tree | 4bf1bc45ca14c228515ab3dc8e25bf04e8d5b909 /drivers/hwmon/ad7314.c | |
parent | acpi_power_meter: drop meter_rw_attrs, use common meter_attrs (diff) | |
download | linux-7bb5ee0169b80d40aa7d4854c07f1c2a90efc5b8.tar.xz linux-7bb5ee0169b80d40aa7d4854c07f1c2a90efc5b8.zip |
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>
Diffstat (limited to 'drivers/hwmon/ad7314.c')
0 files changed, 0 insertions, 0 deletions