linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: light: cm3232: make struct cm3232_als_info const
@ 2025-06-28 17:52 David Lechner
  2025-06-28 17:52 ` [PATCH 1/2] iio: light: cm3232: move calibscale to struct cm3232_chip David Lechner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Lechner @ 2025-06-28 17:52 UTC (permalink / raw)
  To: Kevin Tsai, Jonathan Cameron, Nuno Sá, Andy Shevchenko
  Cc: linux-iio, linux-kernel, David Lechner

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@baylibre.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-06  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-28 17:52 [PATCH 0/2] iio: light: cm3232: make struct cm3232_als_info const David Lechner
2025-06-28 17:52 ` [PATCH 1/2] iio: light: cm3232: move calibscale to struct cm3232_chip David Lechner
2025-06-28 17:52 ` [PATCH 2/2] iio: light: cm3232: make struct cm3232_als_info const David Lechner
2025-07-06  9:51 ` [PATCH 0/2] " Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).