322c956367
This patch set should bring all the attributes created outside of chan_spec registration inline with the new abi. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7 lines
184 B
C
7 lines
184 B
C
/*
|
|
* dac.h - sysfs attributes associated with DACs
|
|
*/
|
|
|
|
#define IIO_DEV_ATTR_OUT_RAW(_num, _store, _addr) \
|
|
IIO_DEVICE_ATTR(out_voltage##_num##_raw, S_IWUSR, NULL, _store, _addr)
|