1
0
Fork 0

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

Align DAC sysfs attributes naming with the convention used by ADC

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
wifi-calibration
Michael Hennerich 2010-11-19 13:32:38 +01:00 committed by Greg Kroah-Hartman
parent 861f670318
commit 5a7f4fddae
1 changed files with 4 additions and 0 deletions

View File

@ -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)