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

The als31300 driver does not advertise IIO_CHAN_INFO_PROCESSED in its
info_mask_* fields, so the corresponding case in read_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/als31300.c