Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: proximity: vcnl3020: make vcnl3020_property const
@ 2025-06-28 18:23 David Lechner
  2025-06-28 18:23 ` [PATCH 1/2] iio: proximity: vcnl3020: pass struct vcnl3020_property by pointer David Lechner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Lechner @ 2025-06-28 18:23 UTC (permalink / raw)
  To: Jonathan Cameron, Nuno Sá, Andy Shevchenko
  Cc: linux-iio, linux-kernel, David Lechner

We can make const struct vcnl3020_property vcnl3020_led_current_property
const since it is read-only data. For this to really be useful, we also
have another change to pass this struct by pointer instead of by value.

---
David Lechner (2):
      iio: proximity: vcnl3020: pass struct vcnl3020_property by pointer
      iio: proximity: vcnl3020: make vcnl3020_property const

 drivers/iio/proximity/vcnl3020.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
base-commit: 14071b9cf2d751ff9bc8b5e43fa94fbf08aceea1
change-id: 20250628-iio-const-data-25-452e9458133b

Best regards,
-- 
David Lechner <dlechner@baylibre.com>


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

end of thread, other threads:[~2025-06-29 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-28 18:23 [PATCH 0/2] iio: proximity: vcnl3020: make vcnl3020_property const David Lechner
2025-06-28 18:23 ` [PATCH 1/2] iio: proximity: vcnl3020: pass struct vcnl3020_property by pointer David Lechner
2025-06-28 18:23 ` [PATCH 2/2] iio: proximity: vcnl3020: make vcnl3020_property const David Lechner
2025-06-29 17:22 ` [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