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

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
...@@ -2,5 +2,9 @@ ...@@ -2,5 +2,9 @@
* dac.h - sysfs attributes associated with DACs * dac.h - sysfs attributes associated with DACs
*/ */
/* Deprecated */
#define IIO_DEV_ATTR_DAC(_num, _store, _addr) \ #define IIO_DEV_ATTR_DAC(_num, _store, _addr) \
IIO_DEVICE_ATTR(dac_##_num, S_IWUSR, NULL, _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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment