Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e3d1d52 authored by Alison Schofield's avatar Alison Schofield Committed by Greg Kroah-Hartman
Browse files

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: default avatarAlison Schofield <amsfield22@gmail.com>
Acked-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b0263382
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -558,7 +558,6 @@ static int ade7754_probe(struct spi_device *spi)
	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);
+0 −1
Original line number Diff line number Diff line
@@ -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);