commit | ae81abcb6a490aff04091aed59baf1c290cc657e | [log] [tgz] |
---|---|---|
author | Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> | Wed Mar 15 19:00:14 2017 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Mar 19 11:01:19 2017 +0000 |
tree | 2953b53b50df85997fc0c2d7105164399456976f | |
parent | 91b4b166175066349f01ce67e091355f8f27e4a7 [diff] |
staging: iio: adis16209: Remove mutex_lock() and mutex_unlock() calls The function adis16209_read_raw() is safe to be run in parallel. The call to adis_read_reg_16() is safe since adis_read_reg() uses the txrx_lock from struct adis to protect simultaneous changes. Remove mutex.h inclusion since it is no longer needed. Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>