[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250629182204.68dfa4ec@jic23-huawei>
Date: Sun, 29 Jun 2025 18:22:04 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Nuno Sá <nuno.sa@...log.com>, Andy Shevchenko
<andy@...nel.org>, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] iio: proximity: vcnl3020: make vcnl3020_property
const
On Sat, 28 Jun 2025 13:23:47 -0500
David Lechner <dlechner@...libre.com> 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,
Powered by blists - more mailing lists