diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-09-21 13:53:55 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-19 09:27:33 +0200 |
commit | 6f1bc6d8fb569eff3c4a5a54a31fc501adab4234 (patch) | |
tree | 879951c88e6a809751048d02c8d139ea9315a876 /drivers/iio/adc/max1027.c | |
parent | iio: adc: max1027: Drop extra warning message (diff) | |
download | linux-6f1bc6d8fb569eff3c4a5a54a31fc501adab4234.tar.xz linux-6f1bc6d8fb569eff3c4a5a54a31fc501adab4234.zip |
iio: adc: max1027: Drop useless debug messages
These two debug messages bring absolutely no value, let's drop them.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20210921115408.66711-4-miquel.raynal@bootlin.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/max1027.c')
-rw-r--r-- | drivers/iio/adc/max1027.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iio/adc/max1027.c b/drivers/iio/adc/max1027.c index 9eaeb1784c3b..63652a64e5a8 100644 --- a/drivers/iio/adc/max1027.c +++ b/drivers/iio/adc/max1027.c @@ -393,8 +393,6 @@ static irqreturn_t max1027_trigger_handler(int irq, void *private) struct iio_dev *indio_dev = pf->indio_dev; struct max1027_state *st = iio_priv(indio_dev); - pr_debug("%s(irq=%d, private=0x%p)\n", __func__, irq, private); - /* fill buffer with all channel */ spi_read(st->spi, st->buffer, indio_dev->masklength * 2); @@ -422,8 +420,6 @@ static int max1027_probe(struct spi_device *spi) struct iio_dev *indio_dev; struct max1027_state *st; - pr_debug("%s: probe(spi = 0x%p)\n", __func__, spi); - indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); if (!indio_dev) { pr_err("Can't allocate iio device\n"); |