diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-11-19 12:32:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-20 01:13:23 (GMT) |
commit | 5a7f4fddae8a50d076b5714f47936ea78e0c0858 (patch) | |
tree | f0a836ba44cb9079d1d43d3f0eb23b905f7e60be | |
parent | 861f67031899b8ab909d672eaea85070317855c9 (diff) | |
download | linux-fsl-qoriq-5a7f4fddae8a50d076b5714f47936ea78e0c0858.tar.xz |
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>
-rw-r--r-- | drivers/staging/iio/dac/dac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/iio/dac/dac.h b/drivers/staging/iio/dac/dac.h index 55005ee..d9384c9 100644 --- a/drivers/staging/iio/dac/dac.h +++ b/drivers/staging/iio/dac/dac.h @@ -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) |