[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250910-iio_chan_617_rc5-v1-0-924091d374be@gmail.com>
Date: Wed, 10 Sep 2025 19:36:48 +0530
From: Dixit Parmar <dixitparmar19@...il.com>
To: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
Gerald Loacker <gerald.loacker@...fvision.net>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Dixit Parmar <dixitparmar19@...il.com>
Subject: [PATCH 0/2] iio: magnetometer: cleanup unused
IIO_CHAN_INFO_PROCESSED handling
This series cleans up dead code in the magnetometer drivers by
removing unused handling for IIO_CHAN_INFO_PROCESSED. None of these
drivers set this bit in info_mask_* fields, so the cases are never
reached.
These changes reduce code paths, improve readability, and make the
switch statements easier to maintain. No functional changes are
intended.
Signed-off-by: Dixit Parmar <dixitparmar19@...il.com>
---
Dixit Parmar (2):
iio: magnetometer: als31300: remove unused IIO_CHAN_INFO_PROCESSED handling
iio: magnetometer: tmag5273: remove unused IIO_CHAN_INFO_PROCESSED handling
drivers/iio/magnetometer/als31300.c | 1 -
drivers/iio/magnetometer/tmag5273.c | 1 -
2 files changed, 2 deletions(-)
---
base-commit: 76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c
change-id: 20250910-iio_chan_617_rc5-59be964d7451
Best regards,
--
Dixit Parmar <dixitparmar19@...il.com>
Powered by blists - more mailing lists