diff options
author | 2013-11-20 17:28:23 +0800 | |
---|---|---|
committer | 2013-11-20 08:31:01 -0800 | |
commit | 3a4cbc190643d0c6f7ca36a84af8367947f558c7 (patch) | |
tree | c64260637872287617d9cfaf962b975730d4ec87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (nct6775) NCT6791 supports weight control only for CPUFAN (diff) | |
download | linux-dev-3a4cbc190643d0c6f7ca36a84af8367947f558c7.tar.xz linux-dev-3a4cbc190643d0c6f7ca36a84af8367947f558c7.zip |
hwmon: (acpi_power_meter) Fix acpi_bus_get_device() return value check
Since acpi_bus_get_device() returns plain int and not acpi_status,
ACPI_FAILURE() should not be used for checking its return value. Fix
that.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions