summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/meter/ade7759.c
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-03-13 23:11:30 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commit5e3d1d520ffccb956a5b00c8a858416747869058 (patch)
treeb396f3b0529717de832c2f2bf230a9f4e42952d4 /drivers/staging/iio/meter/ade7759.c
parentb026338289d65ef6fddfefcf5d1ba7932bc77c8a (diff)
downloadop-kernel-dev-5e3d1d520ffccb956a5b00c8a858416747869058.zip
op-kernel-dev-5e3d1d520ffccb956a5b00c8a858416747869058.tar.gz
staging: iio: meter: remove fixme comment on device remove
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>
Diffstat (limited to 'drivers/staging/iio/meter/ade7759.c')
-rw-r--r--drivers/staging/iio/meter/ade7759.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/meter/ade7759.c b/drivers/staging/iio/meter/ade7759.c
index 684e612..c14892d 100644
--- a/drivers/staging/iio/meter/ade7759.c
+++ b/drivers/staging/iio/meter/ade7759.c
@@ -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);
OpenPOWER on IntegriCloud