Stefan Schmidt says:
[linux-2.6-microblaze.git] / drivers / net / ieee802154 / at86rf230.c
index 1c681c1..15f283b 100644 (file)
@@ -1650,7 +1650,7 @@ free_dev:
        return rc;
 }
 
-static int at86rf230_remove(struct spi_device *spi)
+static void at86rf230_remove(struct spi_device *spi)
 {
        struct at86rf230_local *lp = spi_get_drvdata(spi);
 
@@ -1659,8 +1659,6 @@ static int at86rf230_remove(struct spi_device *spi)
        ieee802154_unregister_hw(lp->hw);
        ieee802154_free_hw(lp->hw);
        dev_dbg(&spi->dev, "unregistered at86rf230\n");
-
-       return 0;
 }
 
 static const struct of_device_id at86rf230_of_match[] = {