[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250628-iio-const-data-20-v1-0-2bf90b03f9f1@baylibre.com>
Date: Sat, 28 Jun 2025 12:52:29 -0500
From: David Lechner <dlechner@...libre.com>
To: Kevin Tsai <ktsai@...ellamicro.com>,
Jonathan Cameron <jic23@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
David Lechner <dlechner@...libre.com>
Subject: [PATCH 0/2] iio: light: cm3232: make struct cm3232_als_info const
Typically, chip info structs are const. Before we can make that change,
we need to move the calibscale field to the driver data struct. This
also allows individual instances of the driver to have different
calibscale values.
---
David Lechner (2):
iio: light: cm3232: move calibscale to struct cm3232_chip
iio: light: cm3232: make struct cm3232_als_info const
drivers/iio/light/cm3232.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
base-commit: 14071b9cf2d751ff9bc8b5e43fa94fbf08aceea1
change-id: 20250628-iio-const-data-20-1f1a05001890
Best regards,
--
David Lechner <dlechner@...libre.com>
Powered by blists - more mailing lists