summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/meter
diff options
context:
space:
mode:
authorHariPrasath Elango <hariprasath.elango@gmail.com>2018-03-07 11:08:04 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-03-07 19:56:40 +0000
commit844ed8220cd10a233bc0825f6992a2949c0c440b (patch)
tree0e4eda2834461d2e0ace1637b9ce58fb04c3e9fe /drivers/staging/iio/meter
parentbd28425a307417d3bd5bdf18e819cc7f90ac1a4d (diff)
staging: iio: meter: Remove reduntant __func__ from debug print
dev_dbg includes the function name & line number by default when dynamic debugging is enabled. Hence__func__ is reduntant here and removed. Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio/meter')
-rw-r--r--drivers/staging/iio/meter/ade7758_trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/meter/ade7758_trigger.c b/drivers/staging/iio/meter/ade7758_trigger.c
index 1f0d1a0cf889..da489ae8cb86 100644
--- a/drivers/staging/iio/meter/ade7758_trigger.c
+++ b/drivers/staging/iio/meter/ade7758_trigger.c
@@ -34,7 +34,7 @@ static int ade7758_data_rdy_trigger_set_state(struct iio_trigger *trig,
{
struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig);
- dev_dbg(&indio_dev->dev, "%s (%d)\n", __func__, state);
+ dev_dbg(&indio_dev->dev, "(%d)\n", state);
return ade7758_set_irq(&indio_dev->dev, state);
}