Skip to content

Commit 60b188f

Browse files
larsclausenjic23
authored andcommitted
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>
1 parent 661a60b commit 60b188f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎include/linux/iio/sysfs.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ struct iio_const_attr {
7373
.dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)}
7474

7575
/* 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)
8176

8277
/**
8378
* IIO_DEV_ATTR_SAMP_FREQ - sets any internal clock frequency

0 commit comments

Comments
 (0)