pci-acpi: remove duplicate code for _OSC
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 15 May 2008 06:18:53 +0000 (15:18 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:47 +0000 (10:59 -0700)
commit8a7a4faf96eef8c87421be0d3f33ea036804289b
tree9b14ae0e59ffb8617374f0e49f64d8af2c902d63
parent49db139955d3392c6c4facf987905d0a9afed581
pci-acpi: remove duplicate code for _OSC

Remove the duplicated code in acpi_query_osc() and acpi_run_osc().
It simplifies the code very much.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c