diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-16 11:08:00 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2013-08-03 13:40:37 -0400 |
| commit | 60b188f0d679656a1a2603d3bc1fa005373f4b9c (patch) | |
| tree | d51634bcfcadbf652a7064e4e2962cad67b716a5 /include/linux | |
| parent | 661a60b143216ac92a44c796070ec0cff28612db (diff) | |
iio: Remove IIO_DEV_ATTR_RESET macro
There are no users of this macro left and we have come to the conclusion that it
is not a good idea to expose the raw chip reset to userspace so the macro is
very unlikely to be used in new drivers.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iio/sysfs.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/iio/sysfs.h b/include/linux/iio/sysfs.h index b7a934b9431b..2958c960003a 100644 --- a/include/linux/iio/sysfs.h +++ b/include/linux/iio/sysfs.h | |||
| @@ -73,11 +73,6 @@ struct iio_const_attr { | |||
| 73 | .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)} | 73 | .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)} |
| 74 | 74 | ||
| 75 | /* Generic attributes of onetype or another */ | 75 | /* Generic attributes of onetype or another */ |
| 76 | /** | ||
| 77 | * IIO_DEV_ATTR_RESET: resets the device | ||
| 78 | **/ | ||
| 79 | #define IIO_DEV_ATTR_RESET(_store) \ | ||
| 80 | IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, _store, 0) | ||
| 81 | 76 | ||
| 82 | /** | 77 | /** |
| 83 | * IIO_DEV_ATTR_SAMP_FREQ - sets any internal clock frequency | 78 | * IIO_DEV_ATTR_SAMP_FREQ - sets any internal clock frequency |
