src/ENC28J60.c
void enc28j60_remove(spi_dev_t *spi_dev) {
    struct enc28j60_dev *priv = spi_dev->priv_data;

    netdev_unregister(priv->net_dev);
    irq_hdlr_del();
    net_dev_free(priv->net_dev);
}
/*!
 * @brief Remove this device and free up the memory it occupies.
 * @param spi_dev Pointer to the SPI-structure associated with the device.
 */
@brief Remove this device and free up the memory it occupies.
@param spi_dev Pointer to the SPI-structure associated with the device.
@brief Remove this device and free up the memory it occupies . @param spi_dev Pointer to the SPI - structure associated with the device .
void enc28j60_remove(spi_dev_t *spi_dev) {
    struct enc28j60_dev *priv = spi_dev->priv_data;
    netdev_unregister(priv->net_dev);
    irq_hdlr_del();
    net_dev_free(priv->net_dev);
}
void enc28j60_remove ( spi_dev_t * spi_dev ) { struct enc28j60_dev * priv = spi_dev -> priv_data ; netdev_unregister ( priv -> net_dev ) ; irq_hdlr_del ( ) ; net_dev_free ( priv -> net_dev ) ; }
@brief Remove this device and free up the memory it occupies.
@brief Remove this device and free up the memory it occupies .