spi: make remove callback a void function
[linux-2.6-microblaze.git] / drivers / net / ethernet / vertexcom / mse102x.c
index 89a3178..25739b1 100644 (file)
@@ -731,7 +731,7 @@ static int mse102x_probe_spi(struct spi_device *spi)
        return 0;
 }
 
-static int mse102x_remove_spi(struct spi_device *spi)
+static void mse102x_remove_spi(struct spi_device *spi)
 {
        struct mse102x_net *mse = dev_get_drvdata(&spi->dev);
        struct mse102x_net_spi *mses = to_mse102x_spi(mse);
@@ -741,8 +741,6 @@ static int mse102x_remove_spi(struct spi_device *spi)
 
        mse102x_remove_device_debugfs(mses);
        unregister_netdev(mse->ndev);
-
-       return 0;
 }
 
 static const struct of_device_id mse102x_match_table[] = {