staging:iio:adc:ad7152: Add proper locking
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 2 Sep 2011 16:25:29 +0000 (17:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:03:30 +0000 (16:03 -0700)
commitbb90cf8d7b752c466b41e3f2dc4dcf33ba3752b2
tree41949567f8d1a185cac85b70575388745ab24f85
parent9b7244192fb310b3ca8352250e2fd0946ebebc54
staging:iio:adc:ad7152: Add proper locking

Add proper locking.
Consistently use indio_dev.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7152.c