]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: proximity: vcnl3020: make vcnl3020_property const
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 18:23:49 +0000 (13:23 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jul 2025 14:36:23 +0000 (15:36 +0100)
commitb1a6eac557f3f6f188beb8a7e12de1c66a8d38da
tree720b80e5b0f7d4e13a42ea8b6d1ad8587f08f336
parent96337ede943508a2d900768f8ef68f83c178c7fd
iio: proximity: vcnl3020: make vcnl3020_property const

Add const qualifier to struct vcnl3020_property
vcnl3020_led_current_property. This is read-only data so it can be made
const.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250628-iio-const-data-25-v1-2-5d99cf17790e@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/vcnl3020.c