linux/drivers/iio/magnetometer
Sang-Heon Jeon 017e71cbe0 iio: magnetometer: ak8974: remove conditional return with no effect
Both branches of the check return the same value, so the check has no
effect. Remove it and return the value directly.

This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
2026-08-03 22:32:32 +01:00
..
af8133j.c iio: Initialize i2c_device_id arrays using member names 2026-05-31 11:01:46 +01:00
ak8974.c iio: magnetometer: ak8974: remove conditional return with no effect 2026-08-03 22:32:32 +01:00
ak8975.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
als31300.c iio: magnetometer: als31300: remove unused IIO_CHAN_INFO_PROCESSED handling 2025-09-10 19:47:06 +01:00
bmc150_magn_i2c.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
bmc150_magn_spi.c Linux 7.2-rc2 2026-07-06 16:59:47 +01:00
bmc150_magn.c iio: magnetometer: bmc150: use FIELD_PREP and FIELD_GET helpers 2026-06-29 19:05:36 +01:00
bmc150_magn.h iio:magnetometer:mbc150: Make bmc150_magn_remove() return void 2022-06-11 14:35:27 +01:00
hid-sensor-magn-3d.c iio: hid-sensors: Use implicit NULL pointer checks 2026-07-07 03:12:51 +01:00
hmc5843_core.c iio: magnetometer: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:27 +01:00
hmc5843_i2c.c iio: Initialize i2c_device_id arrays using member names 2026-05-31 11:01:46 +01:00
hmc5843_spi.c iio: magnetometer: hmc5843: Simplify device abstraction 2026-06-30 00:15:56 +01:00
hmc5843.h iio: magnetometer: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:27 +01:00
Kconfig iio: magnetometer: add support for QST QMC6308 2026-07-26 19:19:36 +01:00
mag3110.c iio: Initialize i2c_device_id arrays using member names 2026-05-31 11:01:46 +01:00
Makefile iio: magnetometer: add support for QST QMC6308 2026-07-26 19:19:36 +01:00
mmc5633.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
mmc5983.c Linux 7.2-rc2 2026-07-06 16:59:47 +01:00
mmc35240.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
qmc5883l.c iio: magnetometer: add driver for QST QMC5883L Sensor 2026-06-30 00:15:55 +01:00
qmc6308.c iio: magnetometer: add support for QST QMC6308 2026-07-26 19:19:36 +01:00
rm3100-core.c iio: magnetometer: Remove redundant dev_err() 2026-07-27 22:13:07 +01:00
rm3100-i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
rm3100-spi.c iio: magnetometer: rm3100-spi: remove bits_per_word = 8 2025-05-21 14:20:31 +01:00
rm3100.h iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
si7210.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
st_magn_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_magn_core.c iio: magnetometer: st_magn: fix default DRDY pin selection for LIS2MDL 2026-05-15 12:01:38 +01:00
st_magn_i2c.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
st_magn_spi.c Linux 7.2-rc2 2026-07-06 16:59:47 +01:00
st_magn.h iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
tlv493d.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
tmag5273.c iio: Initialize i2c_device_id arrays using member names 2026-05-31 11:01:46 +01:00
yamaha-yas530.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00