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>
Tue, 16 Nov 2010 19:19:53 +0000 (11:19 -0800)
commit1d904e8950c86e670ace237eaea1d48cd81e94df
treeacac0f11c18da6bb2791c00e1a44fc0fd10bc010
parent3bad28ec006ad6ab2bca4e5103860b75391e3c9d
Staging: iio: adis16220: fix up some sysfs attribute permissions

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/adis16220_core.c