"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "8d4e652d1b2539196efaef051956fa29e22e9c10"
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>
Loading
Please register or sign in to comment