diff options
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) | |||
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)) |