diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-07-23 01:26:39 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-16 13:57:04 +0300 |
| commit | ff2501ff5c329a1a8bb0715e033d3b8af1e76de2 (patch) | |
| tree | 7054fc9a2733623585ee053e3eb6bfa999b9a9e6 /include/linux | |
| parent | 8e7a21e103d7192ae267045cca79290f31333910 (diff) | |
| download | linux-ff2501ff5c329a1a8bb0715e033d3b8af1e76de2.tar.xz | |
iio: proximity: vl53l0x-i2c: use stack allocated scan struct
Use a stack allocated struct for the scan data instead of using the
driver state to store the struct. The scan data is not used outside of
the interrupt handler function so the struct does not need to exist
outside of that scope.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250722-iio-proximity-vl53l0x-i2c-use-stack-allocated-scan-struct-v1-1-42f127a6834f@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
