libata: acpi: avoid passing NULL to ACPI evaluation method
authorAaron Lu <aaron.lu@intel.com>
Fri, 14 Mar 2014 05:46:09 +0000 (13:46 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 14 Mar 2014 15:23:47 +0000 (11:23 -0400)
If ACPI handle for an ATA device is NULL, we shouldn't call
ata_dev_get_GTF as that function will use handle to do some ACPI
evaluation.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-acpi.c

Simple merge