Re: [PATCH v2] iio: proximity: as3935: fix use-after-free on device remove

From: Sven Van Asbroeck
Date: Sat Mar 09 2019 - 08:04:00 EST


On Sat, Mar 9, 2019 at 5:24 AM Tomasz Duszynski <tduszyns@xxxxxxxxx> wrote:
>
> What I meant is that delayed work initialization could stay where it was.
> The reason you moved it is readability improvement so to me it is more
> of a cleanup hence I suggested a separate patch. Up to you.

Ah, I see what you mean now.

I'm ok with splitting this up, but we should probably ask the maintainer
(Jonathan) what he prefers, because he's the one who will have to take
two small patches instead of one. And the second patch is a one-liner.