aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2009-09-15 11:05:31 -0400
committerLen Brown <len.brown@intel.com>2009-09-27 23:19:59 -0400
commit922553f20b6ff03d2f08229e6e4556843ae874da (patch)
tree705ac91240d2910c04e3ca7f71d1d3859469a627
parentd1e0de92d6c706cc68627c884b2d58d3db707804 (diff)
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>
-rw-r--r--drivers/platform/x86/sony-laptop.c9
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)
1202 } 1202 }
1203 } 1203 }
1204 1204
1205 /* try to _INI the device if such method exists (ACPI spec 3.0-6.5.1
1206 * should be respected as we already checked for the device presence above */
1207 if (ACPI_SUCCESS(acpi_get_handle(sony_nc_acpi_handle, METHOD_NAME__INI, &handle))) {
1208 dprintk("Invoking _INI\n");
1209 if (ACPI_FAILURE(acpi_evaluate_object(sony_nc_acpi_handle, METHOD_NAME__INI,
1210 NULL, NULL)))
1211 dprintk("_INI Method failed\n");
1212 }
1213
1214 if (ACPI_SUCCESS(acpi_get_handle(sony_nc_acpi_handle, "ECON", 1205 if (ACPI_SUCCESS(acpi_get_handle(sony_nc_acpi_handle, "ECON",
1215 &handle))) { 1206 &handle))) {
1216 if (acpi_callsetfunc(sony_nc_acpi_handle, "ECON", 1, NULL)) 1207 if (acpi_callsetfunc(sony_nc_acpi_handle, "ECON", 1, NULL))