Staging: iio: fix up world writable sysfs files.
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 18:56:18 +0000 (10:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 18:56:18 +0000 (10:56 -0800)
commit983bbfd091be5b3e1a729f31cce29431fbff2d27
treec86c0bce6f744993b2daa641e60559aec35bdced
parent64d74c6cbe52fbec90ead8f3bf53bfb10a1540d5
Staging: iio: fix up world writable sysfs files.

You should not be able to write to sysfs files from any user.

Cc: Graf Yang <graf.yang@analog.com>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/resolver/ad2s1210.c
drivers/staging/iio/sysfs.h