Messages in this thread |  | | Date | Fri, 5 Sep 2025 14:12:49 -0500 | | Subject | Re: [PATCH] iio: proximity: mb1232: use stack allocated scan struct | | From | David Lechner <> |
| |
On 7/24/25 5:26 AM, Jonathan Cameron wrote: > On Tue, 22 Jul 2025 17:39:17 -0500 > David Lechner <dlechner@baylibre.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@baylibre.com> > Hi David, > > Applied to the testing branch of iio.git. > > I don't suppose you fancy a follow up to take that irqnr local to probe? > If not I'll get to it at some point maybe. > It is also used in mb1232_read_distance(), so this wouldn't be trivial.
|  |