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

Jonathan Cameron jic23 at kernel.org
Sat Sep 24 08:56:32 PDT 2022


On Tue, 20 Sep 2022 13:28:21 +0200
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.
> 
> Signed-off-by: Nuno Sá <nuno.sa at analog.com>
LGTM  Nice work



More information about the linux-amlogic mailing list