iio: core: Make mlock internal to the iio core
authorRohit Sarkar <rohitsarkar5398@gmail.com>
Wed, 18 Mar 2020 16:11:51 +0000 (21:41 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 11:01:31 +0000 (11:01 +0000)
commit143324fd89eff7423c01eba79fc7044003a257e9
tree256a4094728a2886363f9c21a64dc7fa0b4197c2
parent72ad02b15d6367f9897db62313cc69fb0a20ee1f
iio: core: Make mlock internal to the iio core

"mlock" should ideally only be used by the iio core. The mlock
implementation may change in the future which means that no driver
should be explicitly using mlock.

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h