ACPI: PM: Improve kerneldoc comments for suspend and hibernation functions
[linux-2.6-microblaze.git] / drivers / acpi / evged.c
index fe6b679..11778c9 100644 (file)
@@ -173,10 +173,9 @@ static void ged_shutdown(struct platform_device *pdev)
        }
 }
 
-static int ged_remove(struct platform_device *pdev)
+static void ged_remove(struct platform_device *pdev)
 {
        ged_shutdown(pdev);
-       return 0;
 }
 
 static const struct acpi_device_id ged_acpi_ids[] = {
@@ -186,7 +185,7 @@ static const struct acpi_device_id ged_acpi_ids[] = {
 
 static struct platform_driver ged_driver = {
        .probe = ged_probe,
-       .remove = ged_remove,
+       .remove_new = ged_remove,
        .shutdown = ged_shutdown,
        .driver = {
                .name = MODULE_NAME,