staging: iio: meter: remove fixme comment on device remove
authorAlison Schofield <amsfield22@gmail.com>
Mon, 14 Mar 2016 06:11:30 +0000 (23:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
This comment was in place in the original drafts of these drivers
when the remove function did a whole lot of work: flushed queues,
unregistered interrupts, uninitialized rings, unconfigured rings,
and a few kfree's.

The remove functions have since been reduced to unregistering and
stopping the device.  This is the inverse of what was done during
probe and is correct. Time to remove the comment.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7759.c

index 69287108f793bcb81bcf91451b64f1f4f86c2257..b0bc99a958c539a3c38820f6a1c27561c38b06a2 100644 (file)
@@ -528,7 +528,6 @@ static int ade7753_probe(struct spi_device *spi)
        return iio_device_register(indio_dev);
 }
 
-/* fixme, confirm ordering in this function */
 static int ade7753_remove(struct spi_device *spi)
 {
        struct iio_dev *indio_dev = spi_get_drvdata(spi);
index f4188e17d30b2c5f205d2196bad247f615d93ce9..fed11804d54890438b06eced10515ab49878b5de 100644 (file)
@@ -558,7 +558,6 @@ powerdown_on_error:
        return ret;
 }
 
-/* fixme, confirm ordering in this function */
 static int ade7754_remove(struct spi_device *spi)
 {
        struct iio_dev *indio_dev = spi_get_drvdata(spi);
index 684e612a88b934f7f3fde54799d2d2a2fe3ebe88..c14892db7e4cb5a7eada11c1c8e85f94c30e092c 100644 (file)
@@ -476,7 +476,6 @@ static int ade7759_probe(struct spi_device *spi)
        return iio_device_register(indio_dev);
 }
 
-/* fixme, confirm ordering in this function */
 static int ade7759_remove(struct spi_device *spi)
 {
        struct iio_dev *indio_dev = spi_get_drvdata(spi);
This page took 0.02732 seconds and 5 git commands to generate.