]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: proximity: vcnl3020: pass struct vcnl3020_property by pointer
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 18:23:48 +0000 (13:23 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jul 2025 14:36:23 +0000 (15:36 +0100)
commit96337ede943508a2d900768f8ef68f83c178c7fd
tree06ef0eebc1eccc9e6f082e8c035b9ff20af181c7
parent5b322dc49a1b2077e6e366a9008f44c7aa55ad7f
iio: proximity: vcnl3020: pass struct vcnl3020_property by pointer

Pass struct vcnl3020_property by pointer instead of by value to avoid
copying the entire struct.

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