diff options
Diffstat (limited to 'drivers/staging/iio/dds/ad9910.c')
-rw-r--r-- | drivers/staging/iio/dds/ad9910.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/dds/ad9910.c b/drivers/staging/iio/dds/ad9910.c index b72df8c..da83d2b 100644 --- a/drivers/staging/iio/dds/ad9910.c +++ b/drivers/staging/iio/dds/ad9910.c @@ -400,6 +400,7 @@ error_ret: static int __devexit ad9910_remove(struct spi_device *spi) { iio_device_unregister(spi_get_drvdata(spi)); + iio_free_device(spi_get_drvdata(spi)); return 0; } |