ACPI: Remove useless type argument of driver .remove() operation
[deliverable/linux.git] / drivers / platform / x86 / toshiba_acpi.c
index c2727895794ca51d7623bc820c6aeadd422fa4c5..904476b2fa8f3e1de0bcc003f440a35c058befd9 100644 (file)
@@ -1118,7 +1118,7 @@ static int toshiba_acpi_setup_backlight(struct toshiba_acpi_dev *dev)
        return 0;
 }
 
-static int toshiba_acpi_remove(struct acpi_device *acpi_dev, int type)
+static int toshiba_acpi_remove(struct acpi_device *acpi_dev)
 {
        struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev);
 
@@ -1250,7 +1250,7 @@ static int toshiba_acpi_add(struct acpi_device *acpi_dev)
        return 0;
 
 error:
-       toshiba_acpi_remove(acpi_dev, 0);
+       toshiba_acpi_remove(acpi_dev);
        return ret;
 }
 
This page took 0.03049 seconds and 5 git commands to generate.