summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_link.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-14 00:54:00 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-19 01:02:22 +0100
commit5beaee4f195d0297473da9a45459050b561e10cf (patch)
tree2d72e0f132bdae893097d60a8018c6678f79cd2a /drivers/acpi/pci_link.c
parentACPI / hotplug: Consolidate deferred execution of ACPI hotplug routines (diff)
downloadlinux-5beaee4f195d0297473da9a45459050b561e10cf.tar.xz
linux-5beaee4f195d0297473da9a45459050b561e10cf.zip
ACPI / hotplug: Fix acpi_bus_get_device() return value check
Since acpi_bus_get_device() returns a plain int and not acpi_status, ACPI_FAILURE() should not be used for checking its return value. Fix that. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'drivers/acpi/pci_link.c')
0 files changed, 0 insertions, 0 deletions