iio: adc: stm32-dfsdm: drop __func__ while using Dynamic debug
Dropped __func__ while using dev_dbg() and pr_debug() If the function name is desired, it can be configured using dynamic debug. Signed-off-by: Mugilraj Dhavachelvan <dmugil2000@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210401154343.41527-1-dmugil2000@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
7604c2f9ea
commit
bb142d4433
@@ -198,7 +198,7 @@ static int stm32_dfsdm_compute_osrs(struct stm32_dfsdm_filter *fl,
|
|||||||
unsigned int p = fl->ford; /* filter order (ford) */
|
unsigned int p = fl->ford; /* filter order (ford) */
|
||||||
struct stm32_dfsdm_filter_osr *flo = &fl->flo[fast];
|
struct stm32_dfsdm_filter_osr *flo = &fl->flo[fast];
|
||||||
|
|
||||||
pr_debug("%s: Requested oversampling: %d\n", __func__, oversamp);
|
pr_debug("Requested oversampling: %d\n", oversamp);
|
||||||
/*
|
/*
|
||||||
* This function tries to compute filter oversampling and integrator
|
* This function tries to compute filter oversampling and integrator
|
||||||
* oversampling, base on oversampling ratio requested by user.
|
* oversampling, base on oversampling ratio requested by user.
|
||||||
@@ -295,8 +295,8 @@ static int stm32_dfsdm_compute_osrs(struct stm32_dfsdm_filter *fl,
|
|||||||
flo->max = (s32)max;
|
flo->max = (s32)max;
|
||||||
flo->bits = bits;
|
flo->bits = bits;
|
||||||
|
|
||||||
pr_debug("%s: fast %d, fosr %d, iosr %d, res 0x%llx/%d bits, rshift %d, lshift %d\n",
|
pr_debug("fast %d, fosr %d, iosr %d, res 0x%llx/%d bits, rshift %d, lshift %d\n",
|
||||||
__func__, fast, flo->fosr, flo->iosr,
|
fast, flo->fosr, flo->iosr,
|
||||||
flo->res, bits, flo->rshift,
|
flo->res, bits, flo->rshift,
|
||||||
flo->lshift);
|
flo->lshift);
|
||||||
}
|
}
|
||||||
@@ -864,7 +864,7 @@ static void stm32_dfsdm_dma_buffer_done(void *data)
|
|||||||
* support in IIO.
|
* support in IIO.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
dev_dbg(&indio_dev->dev, "%s: pos = %d, available = %d\n", __func__,
|
dev_dbg(&indio_dev->dev, "pos = %d, available = %d\n",
|
||||||
adc->bufi, available);
|
adc->bufi, available);
|
||||||
old_pos = adc->bufi;
|
old_pos = adc->bufi;
|
||||||
|
|
||||||
@@ -918,7 +918,7 @@ static int stm32_dfsdm_adc_dma_start(struct iio_dev *indio_dev)
|
|||||||
if (!adc->dma_chan)
|
if (!adc->dma_chan)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
dev_dbg(&indio_dev->dev, "%s size=%d watermark=%d\n", __func__,
|
dev_dbg(&indio_dev->dev, "size=%d watermark=%d\n",
|
||||||
adc->buf_sz, adc->buf_sz / 2);
|
adc->buf_sz, adc->buf_sz / 2);
|
||||||
|
|
||||||
if (adc->nconv == 1 && !indio_dev->trig)
|
if (adc->nconv == 1 && !indio_dev->trig)
|
||||||
|
|||||||
Reference in New Issue
Block a user