diff options
author | 2013-11-20 17:28:25 +0800 | |
---|---|---|
committer | 2013-11-23 08:37:10 -0500 | |
commit | e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3 (patch) | |
tree | 41d25ceb89e0736ae1931be713e3271dad21750f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pata_arasan_cf: add missing clk_disable_unprepare() on error path (diff) | |
download | linux-dev-e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3.tar.xz linux-dev-e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3.zip |
ata: 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.
tj: Dropped unused local variable @status from odd_can_poweroff().
Reported by kbuild test bot.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Aaron Lu <aaron.lu@intel.com>
Cc: linux-ide@vger.kernel.org
Cc: kbuild test robot <fengguang.wu@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions