]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: iio: dac: more consistent DAC sysfs attributes naming
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 19 Nov 2010 12:32:38 +0000 (13:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 20 Nov 2010 01:13:23 +0000 (17:13 -0800)
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>
drivers/staging/iio/dac/dac.h

index 55005eec12142885556642d16a39f06ed7b9016a..d9384c9a3e8548622480cf2366286b030577c475 100644 (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)