summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-07-23 01:39:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-16 13:57:04 +0300
commitf235ec59343b2a7cb5844a5656aca6360829ca4b (patch)
treee518c8a0529cf19ae790349079fb6cdd4ed4179a /include
parent83d76bf0360f7041d03d8f70301b0a8f96c9c872 (diff)
downloadlinux-f235ec59343b2a7cb5844a5656aca6360829ca4b.tar.xz
iio: proximity: mb1232: 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-mb1232-use-stack-allocated-scan-struct-v1-1-b4ef77e9ddea@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions