[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250910173219.60fec37c@jic23-huawei>
Date: Wed, 10 Sep 2025 17:32:19 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Dixit Parmar <dixitparmar19@...il.com>
Cc: David Lechner <dlechner@...libre.com>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>, Gerald Loacker
<gerald.loacker@...fvision.net>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] iio: magnetometer: cleanup unused
IIO_CHAN_INFO_PROCESSED handling
On Wed, 10 Sep 2025 19:36:48 +0530
Dixit Parmar <dixitparmar19@...il.com> wrote:
> 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,
Good find. Applied to the togreg branch of iio.git and pushed out as testing.
Thanks,
Jonathan
Powered by blists - more mailing lists