Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

HariPrasath Elango and committed by
Jonathan Cameron
844ed822 bd28425a

+1 -1
+1 -1
drivers/staging/iio/meter/ade7758_trigger.c
··· 34 34 { 35 35 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); 36 36 37 - dev_dbg(&indio_dev->dev, "%s (%d)\n", __func__, state); 37 + dev_dbg(&indio_dev->dev, "(%d)\n", state); 38 38 return ade7758_set_irq(&indio_dev->dev, state); 39 39 } 40 40