[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250724115127.19fc70d4@jic23-huawei>
Date: Thu, 24 Jul 2025 11:51:27 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Nuno Sá <nuno.sa@...log.com>, Andy Shevchenko
<andy@...nel.org>, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: proximity: pulsedlight-lidar-lite-v2: use stack
allocated scan struct
On Tue, 22 Jul 2025 17:34:45 -0500
David Lechner <dlechner@...libre.com> 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@...libre.com>
Applied to the testing branch of iio.git.
Powered by blists - more mailing lists