linux/drivers/iio/frequency
Nathan Chancellor 7b473ae754 iio: frequency: adrf6780: Fix adrf6780_spi_{read,write}()
Clang warns:

drivers/iio/frequency/adrf6780.c:117:1: error: all paths through this
function will call itself [-Werror,-Winfinite-recursion]
{
^
drivers/iio/frequency/adrf6780.c:138:1: error: all paths through this
function will call itself [-Werror,-Winfinite-recursion]
{
^
2 errors generated.

The underscore variants should be used here.

Link: https://github.com/ClangBuiltLinux/linux/issues/1490
Fixes: 63aaf6d06d ("iio: frequency: adrf6780: add support for ADRF6780")
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20211022195656.1513147-1-nathan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-24 13:14:26 +02:00
..
ad9523.c iio: frequency: ad9523: convert rest of driver to device managed functions 2020-08-22 10:53:14 +01:00
adf4350.c iio: frequency: adf4350: disable reg and clk on error in adf4350_probe() 2021-06-13 17:00:17 +01:00
adf4371.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
adrf6780.c iio: frequency: adrf6780: Fix adrf6780_spi_{read,write}() 2021-10-24 13:14:26 +02:00
Kconfig iio: frequency: adrf6780: add support for ADRF6780 2021-10-21 21:00:59 +01:00
Makefile iio: frequency: adrf6780: add support for ADRF6780 2021-10-21 21:00:59 +01:00