Re: [PATCH 0/2] iio: proximity: vcnl3020: make vcnl3020_property const

From: Jonathan Cameron
Date: Sun Jun 29 2025 - 13:22:18 EST


On Sat, 28 Jun 2025 13:23:47 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> 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.
>
Applied to the testing branch of iio.git.

Thanks,

Jonathan

> ---
> 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,