linux/drivers/iio/frequency
Colin Ian King 6cdb4009c2 iio: admv1013: replace redundant ternary operator with just len
The variable ret is being assigned a return value and non-zero error
return paths are taken at all stages. At the end of the function ret
is always zero, so the ternary operator checking for zero ret is
redundant and can be replaced with just len instead.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250507134502.254736-1-colin.i.king@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-05-21 14:21:34 +01:00
..
ad9523.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adf4350.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adf4371.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adf4377.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
admfm2000.c iio: frequency: admfm2000: Use device_for_each_child_node_scoped() to simplify error paths. 2024-04-06 11:29:06 +01:00
admv1013.c iio: admv1013: replace redundant ternary operator with just len 2025-05-21 14:21:34 +01:00
admv1014.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
admv4420.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adrf6780.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
Kconfig iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig 2024-10-10 19:27:25 +01:00
Makefile