commit | c75da205e02dda3b79ca057e558f97f3d61c855d | [log] [tgz] |
---|---|---|
author | Aaron Lu <aaron.lu@intel.com> | Fri Mar 14 13:46:09 2014 +0800 |
committer | Tejun Heo <tj@kernel.org> | Fri Mar 14 11:23:47 2014 -0400 |
tree | 31ea36dbff95ef8926991e637aca9894aa1d2475 | |
parent | 20e64fa42965a6ec6f0ae4c5d4fda0ccf6c94ff6 [diff] |
libata: acpi: avoid passing NULL to ACPI evaluation method 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>