git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc76dee
)
hwmon: (acpi_power_meter) Fix acpi_bus_get_device() return value check
author
Yijing Wang
<wangyijing@huawei.com>
Wed, 20 Nov 2013 09:28:23 +0000
(17:28 +0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 20 Nov 2013 16:31:01 +0000
(08:31 -0800)
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>
No differences found