return err;
 }
 
-static int au1000_remove(struct platform_device *pdev)
+static void au1000_remove(struct platform_device *pdev)
 {
        struct net_device *dev = platform_get_drvdata(pdev);
        struct au1000_private *aup = netdev_priv(dev);
        release_mem_region(macen->start, resource_size(macen));
 
        free_netdev(dev);
-
-       return 0;
 }
 
 static struct platform_driver au1000_eth_driver = {
        .probe  = au1000_probe,
-       .remove = au1000_remove,
+       .remove_new = au1000_remove,
        .driver = {
                .name   = "au1000-eth",
        },
 
        return err;
 }
 
-static int sunlance_sbus_remove(struct platform_device *op)
+static void sunlance_sbus_remove(struct platform_device *op)
 {
        struct lance_private *lp = platform_get_drvdata(op);
        struct net_device *net_dev = lp->dev;
        lance_free_hwresources(lp);
 
        free_netdev(net_dev);
-
-       return 0;
 }
 
 static const struct of_device_id sunlance_sbus_match[] = {
                .of_match_table = sunlance_sbus_match,
        },
        .probe          = sunlance_sbus_probe,
-       .remove         = sunlance_sbus_remove,
+       .remove_new     = sunlance_sbus_remove,
 };
 
 module_platform_driver(sunlance_sbus_driver);
 
        return ret;
 }
 
-static int xgbe_platform_remove(struct platform_device *pdev)
+static void xgbe_platform_remove(struct platform_device *pdev)
 {
        struct xgbe_prv_data *pdata = platform_get_drvdata(pdev);
 
        platform_device_put(pdata->phy_platdev);
 
        xgbe_free_pdata(pdata);
-
-       return 0;
 }
 
 #ifdef CONFIG_PM_SLEEP
                .pm = &xgbe_platform_pm_ops,
        },
        .probe = xgbe_platform_probe,
-       .remove = xgbe_platform_remove,
+       .remove_new = xgbe_platform_remove,
 };
 
 int xgbe_platform_init(void)