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

From: Sven Van Asbroeck
Date: Fri Mar 08 2019 - 12:49:44 EST


On Fri, Mar 8, 2019 at 12:13 PM Jonathan Cameron
<jonathan.cameron@xxxxxxxxxx> wrote:
>
> Your description makes it clear that there are multiple things in the patch.
> Don't do a 'while we were here' in a patch doing something else please.
> Separate patches.
>

The proposed solution (adding devm_) fixes multiple issues, so that can stay
as a single patch, right?

It's the 'while we're here' you'd like to see removed? Can do.