ACPI / dock: Fix acpi_bus_get_device() check in drivers/acpi/dock.c
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Thu, 31 Jan 2013 03:23:53 +0000 (03:23 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 2 Feb 2013 19:10:23 +0000 (20:10 +0100)
commit02df7349d29f99ede4c97504ab67e3082c95c15e
tree787bec984cf0491b25bf4dd792f69a277a24caa9
parent456de893ea1a693dc266c5464a6d857bfed0875f
ACPI / dock: Fix acpi_bus_get_device() check in drivers/acpi/dock.c

acpi_bus_get_device() returns int not acpi_status.

The patch change not to apply ACPI_SUCCESS() to the return value of
acpi_bus_get_device().

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c