staging:iio:adis16080: Remove unnecessary lock
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 9 Jan 2013 14:01:00 +0000 (14:01 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:29:59 +0000 (10:29 +0000)
commit61992d993beb5af8c64c617ec474439079aa726d
tree6c9fde98fce75d9e93c62fa84f10dbd658ae8d5e
parent3c80372dae17cb1a5a493c9ed02f7ca2a8d9ce53
staging:iio:adis16080: Remove unnecessary lock

All sections in which the transfer buffer is accessed are already protected by
the IIO device's mlock. So we do not need the extra mutex protecting the buffer.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/gyro/adis16080_core.c