[PATCH v2 16/16] iio: core: move 'mlock' to 'struct iio_dev_opaque'

Jonathan Cameron jic23 at kernel.org
Sun Oct 9 04:52:14 PDT 2022


On Tue, 4 Oct 2022 17:21:20 +0300
Andy Shevchenko <andy.shevchenko at gmail.com> wrote:

> On Tue, Oct 4, 2022 at 4:49 PM Nuno Sá <nuno.sa at analog.com> wrote:
> >
> > Now that there are no more users accessing 'mlock' directly, we can move
> > it to the iio_dev private structure. Hence, it's now explicit that new
> > driver's should not directly this lock.  
> 
> use this
> 
> 
> I like the end result!
> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
Hi Andy,

Just to check, just this patch, or series (where you haven't commented?)

I'm going to queue this series up piecewise just because it's fairly
big and most of it is completely non controversial!  So for now I've
not applied your RB, but can do so before I push out as anything non
rebasing (which I won't do until after the merge window).

Thanks,

Jonathan



More information about the Linux-rockchip mailing list