aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utils.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-08-21 01:52:37 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-08-24 13:43:20 -0700
commitb879dc4b3e81069e3f715b7569bb0f43eed76c76 (patch)
treeb60fadcfd78c7b4fa086f381333786dc42671cab /drivers/acpi/utils.c
parent79dd9182db2072d63ccf160bb9a3463b1c952723 (diff)
downloadkernel_samsung_smdk4412-b879dc4b3e81069e3f715b7569bb0f43eed76c76.zip
kernel_samsung_smdk4412-b879dc4b3e81069e3f715b7569bb0f43eed76c76.tar.gz
kernel_samsung_smdk4412-b879dc4b3e81069e3f715b7569bb0f43eed76c76.tar.bz2
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 <rjw@sisk.pl> Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/acpi/utils.c')
0 files changed, 0 insertions, 0 deletions