Yijing Wang e2fc623e7d 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>
2013-11-23 08:37:10 -05:00
..
2013-10-15 08:47:00 -04:00
2012-07-25 15:12:11 -04:00
2013-07-26 08:57:56 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2008-01-23 05:24:15 -05:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-04-09 14:13:28 -04:00
2012-07-25 15:12:11 -04:00
2007-07-02 10:17:42 -04:00