From: Rafael J. Wysocki Date: Fri, 20 Aug 2010 23:52:37 +0000 (+0200) Subject: ACPI/PCI: Reorder checks in acpi_pci_osc_control_set() X-Git-Tag: v2.6.36-rc4~77^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b879dc4b3e81069e3f715b7569bb0f43eed76c76;p=pandora-kernel.git ACPI/PCI: Reorder checks in acpi_pci_osc_control_set() Make acpi_pci_osc_control_set() attempt to find the handle of the _OSC object under the given PCI root bridge object after verifying that its second argument is correct and that there is a struct acpi_pci_root object for the given root bridge handle, which is more logical than the old code. Signed-off-by: Rafael J. Wysocki Reviewed-by: Hidetoshi Seto Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed