Commit 5a7f4fdd authored by Michael Hennerich's avatar Michael Hennerich Committed by Greg Kroah-Hartman
Browse files

staging: iio: dac: more consistent DAC sysfs attributes naming



Align DAC sysfs attributes naming with the convention used by ADC

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 861f6703
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2,5 +2,9 @@
 * dac.h - sysfs attributes associated with DACs
 */

/* Deprecated */
#define IIO_DEV_ATTR_DAC(_num, _store, _addr)			\
	IIO_DEVICE_ATTR(dac_##_num, S_IWUSR, NULL, _store, _addr)

#define IIO_DEV_ATTR_OUT_RAW(_num, _store, _addr)				\
	IIO_DEVICE_ATTR(out##_num##_raw, S_IWUSR, NULL, _store, _addr)