]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: iio: ade7753: replace mlock with driver private lock
authorHimanshi Jain <himshijain.hj@gmail.com>
Mon, 18 Sep 2017 06:59:52 +0000 (12:29 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 24 Sep 2017 14:16:44 +0000 (15:16 +0100)
commit08969366afd99622bb315112179933f7ded4b066
tree7ff4aeefa9f42a7d188d0a9c21dcd6ccafe6cc72
parentf8b7b30fb43a278693d1bf8f195d2864e7cc466e
staging: iio: ade7753: replace mlock with driver private lock

Replace driver usage of mlock with driver private lock to meet the new
model where usage of iio_dev->mlock is being redefined as protecting
operating mode changes(changes between BUFFER* and DIRECT modes).

Signed-off-by: Himanshi Jain <himshijain.hj@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/meter/ade7753.c