]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: magnetometer: tmag5273: remove unused IIO_CHAN_INFO_PROCESSED handling
authorDixit Parmar <dixitparmar19@gmail.com>
Wed, 10 Sep 2025 14:06:50 +0000 (19:36 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 10 Sep 2025 18:47:06 +0000 (19:47 +0100)
commitee8fc40257bc7cf6100fdf0b1cd770dc264f6c2e
treec95c7b747dcb9bab3179e1ba5d30514d79ad4b0f
parent09579fb72e5412a4e98aee42c8a3ab3d437f8a32
iio: magnetometer: tmag5273: remove unused IIO_CHAN_INFO_PROCESSED handling

The tmag5273 driver does not advertise IIO_CHAN_INFO_PROCESSED in its
info_mask_* fields, so the corresponding case in read_raw()/write_raw()
is never used.
Drop the dead code to reduce unnecessary branches and improve clarity.

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/tmag5273.c