Title: [9642] trunk/drivers/staging/iio/dac/dac.h: merge from upstream: staging: iio: dac: more consistent DAC sysfs attributes naming
- Revision
- 9642
- Author
- vapier
- Date
- 2011-03-01 15:56:55 -0500 (Tue, 01 Mar 2011)
Log Message
merge from upstream: staging: iio: dac: more consistent DAC sysfs attributes naming
From: Michael Hennerich <[email protected]>
Align DAC sysfs attributes naming with the convention used by ADC
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Modified Paths
Diff
Modified: trunk/drivers/staging/iio/dac/dac.h (9641 => 9642)
--- trunk/drivers/staging/iio/dac/dac.h 2011-03-01 20:56:50 UTC (rev 9641)
+++ trunk/drivers/staging/iio/dac/dac.h 2011-03-01 20:56:55 UTC (rev 9642)
@@ -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)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits