return err;
 }
 
-static int cs89x0_platform_remove(struct platform_device *pdev)
+static void cs89x0_platform_remove(struct platform_device *pdev)
 {
        struct net_device *dev = platform_get_drvdata(pdev);
 
         */
        unregister_netdev(dev);
        free_netdev(dev);
-       return 0;
 }
 
 static const struct of_device_id __maybe_unused cs89x0_match[] = {
                .name           = DRV_NAME,
                .of_match_table = of_match_ptr(cs89x0_match),
        },
-       .remove = cs89x0_platform_remove,
+       .remove_new = cs89x0_platform_remove,
 };
 
 module_platform_driver_probe(cs89x0_driver, cs89x0_platform_probe);
 
 }
 
 
-static int ep93xx_eth_remove(struct platform_device *pdev)
+static void ep93xx_eth_remove(struct platform_device *pdev)
 {
        struct net_device *dev;
        struct ep93xx_priv *ep;
 
        dev = platform_get_drvdata(pdev);
        if (dev == NULL)
-               return 0;
+               return;
 
        ep = netdev_priv(dev);
 
        }
 
        free_netdev(dev);
-
-       return 0;
 }
 
 static int ep93xx_eth_probe(struct platform_device *pdev)
 
 static struct platform_driver ep93xx_eth_driver = {
        .probe          = ep93xx_eth_probe,
-       .remove         = ep93xx_eth_remove,
+       .remove_new     = ep93xx_eth_remove,
        .driver         = {
                .name   = "ep93xx-eth",
        },
 
 
 MODULE_LICENSE("GPL");
 
-static int mac89x0_device_remove(struct platform_device *pdev)
+static void mac89x0_device_remove(struct platform_device *pdev)
 {
        struct net_device *dev = platform_get_drvdata(pdev);
 
        unregister_netdev(dev);
        nubus_writew(0, dev->base_addr + ADD_PORT);
        free_netdev(dev);
-       return 0;
 }
 
 static struct platform_driver mac89x0_platform_driver = {
        .probe = mac89x0_device_probe,
-       .remove = mac89x0_device_remove,
+       .remove_new = mac89x0_device_remove,
        .driver = {
                .name = "mac89x0",
        },