提交 5a7f4fdd 编写于 作者: M Michael Hennerich 提交者: 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: NMichael Hennerich <michael.hennerich@analog.com>
Acked-by: NJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册