Staging: iio: adis16220: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 19:19:53 +0000 (11:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:23 +0000 (13:33 -0800)
commita4f9ccb3bcd3e5f1a2786b20d5dc06573abc1945
tree21421bd5fe39467448e6b387c28601b10a9742f8
parent96b86dfa904a14ebcb77e5650dec305836bfe428
Staging: iio: adis16220: fix up some sysfs attribute permissions

commit 1d904e8950c86e670ace237eaea1d48cd81e94df upstream.

They should not be writable by any user

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Barry Song <Barry.Song@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/adis16220_core.c