|
@@ -629,7 +629,6 @@ static int spidev_remove(struct spi_device *spi)
|
|
/* make sure ops on existing fds can abort cleanly */
|
|
/* make sure ops on existing fds can abort cleanly */
|
|
spin_lock_irq(&spidev->spi_lock);
|
|
spin_lock_irq(&spidev->spi_lock);
|
|
spidev->spi = NULL;
|
|
spidev->spi = NULL;
|
|
- spi_set_drvdata(spi, NULL);
|
|
|
|
spin_unlock_irq(&spidev->spi_lock);
|
|
spin_unlock_irq(&spidev->spi_lock);
|
|
|
|
|
|
/* prevent new opens */
|
|
/* prevent new opens */
|