diff options
author | Mattia Dongili <malattia@linux.it> | 2009-09-15 17:05:31 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-28 05:19:59 +0200 |
commit | 922553f20b6ff03d2f08229e6e4556843ae874da (patch) | |
tree | 705ac91240d2910c04e3ca7f71d1d3859469a627 /drivers | |
parent | sony-laptop: SPIC unset IRQF_SHARED, set IRQF_DISABLED (diff) | |
download | linux-922553f20b6ff03d2f08229e6e4556843ae874da.tar.xz linux-922553f20b6ff03d2f08229e6e4556843ae874da.zip |
sony-laptop: remove _INI call at init time
This is unnecessary as OSPM is supposed to call the method already when
the device is discovered.
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 903fca3340ee..f4241ac2a5e3 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -1202,15 +1202,6 @@ static int sony_nc_add(struct acpi_device *device) } } - /* try to _INI the device if such method exists (ACPI spec 3.0-6.5.1 - * should be respected as we already checked for the device presence above */ - if (ACPI_SUCCESS(acpi_get_handle(sony_nc_acpi_handle, METHOD_NAME__INI, &handle))) { - dprintk("Invoking _INI\n"); - if (ACPI_FAILURE(acpi_evaluate_object(sony_nc_acpi_handle, METHOD_NAME__INI, - NULL, NULL))) - dprintk("_INI Method failed\n"); - } - if (ACPI_SUCCESS(acpi_get_handle(sony_nc_acpi_handle, "ECON", &handle))) { if (acpi_callsetfunc(sony_nc_acpi_handle, "ECON", 1, NULL)) |