X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Facpi%2Fevged.c;h=11778c93254bfcf5cab1b40463173e590b5a9345;hb=d7ef570ae0bfd2375a7e7fe468fd6b1b306272c1;hp=fe6b6792c8bba2ccb42d00f44e6a059a6f9c1f1b;hpb=35d09d1ad45160101733f116d1283907d8a28ee2;p=linux-2.6-microblaze.git diff --git a/drivers/acpi/evged.c b/drivers/acpi/evged.c index fe6b6792c8bb..11778c93254b 100644 --- a/drivers/acpi/evged.c +++ b/drivers/acpi/evged.c @@ -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,