[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250628-iio-const-data-25-v1-0-5d99cf17790e@baylibre.com>
Date: Sat, 28 Jun 2025 13:23:47 -0500
From: David Lechner <dlechner@...libre.com>
To: 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: proximity: vcnl3020: make vcnl3020_property const
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@...libre.com>
Powered by blists - more mailing lists