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>
This commit is contained in:
		
					parent
					
						
							
								661a60b143
							
						
					
				
			
			
				commit
				
					
						60b188f0d6
					
				
			
		
					 1 changed files with 0 additions and 5 deletions
				
			
		|  | @ -73,11 +73,6 @@ struct iio_const_attr { | |||
| 	    .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)} | ||||
| 
 | ||||
| /* Generic attributes of onetype or another */ | ||||
| /**
 | ||||
|  * IIO_DEV_ATTR_RESET: resets the device | ||||
|  **/ | ||||
| #define IIO_DEV_ATTR_RESET(_store)			\ | ||||
| 	IIO_DEVICE_ATTR(reset, S_IWUSR, NULL, _store, 0) | ||||
| 
 | ||||
| /**
 | ||||
|  * IIO_DEV_ATTR_SAMP_FREQ - sets any internal clock frequency | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lars-Peter Clausen
				Lars-Peter Clausen