Re: [PATCH] iio: proximity: pulsedlight-lidar-lite-v2: use stack allocated scan struct

From: Jonathan Cameron
Date: Thu Jul 24 2025 - 06:51:57 EST


On Tue, 22 Jul 2025 17:34:45 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxx>
Applied to the testing branch of iio.git.