diff options
author | Nuno Sá <nuno.sa@analog.com> | 2022-10-12 17:16:20 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 20:44:00 +0100 |
commit | 16afe125b53f88b855d2713c8ba253d905dcf3cc (patch) | |
tree | 4f62505de7510d5194d1fd9c249ccae56db18005 /drivers/iio/TODO | |
parent | iio: health: max30102: do not use internal iio_dev lock (diff) | |
download | linux-16afe125b53f88b855d2713c8ba253d905dcf3cc.tar.xz linux-16afe125b53f88b855d2713c8ba253d905dcf3cc.zip |
iio: core: move 'mlock' to 'struct iio_dev_opaque'
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 use this lock.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20221012151620.1725215-5-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/TODO')
-rw-r--r-- | drivers/iio/TODO | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iio/TODO b/drivers/iio/TODO index 7d7326b7085a..2ace27d1ac62 100644 --- a/drivers/iio/TODO +++ b/drivers/iio/TODO @@ -7,9 +7,6 @@ tree - ABI Documentation - Audit driviers/iio/staging/Documentation -- Replace iio_dev->mlock by either a local lock or use -iio_claim_direct.(Requires analysis of the purpose of the lock.) - - Converting drivers from device tree centric to more generic property handlers. |