Skip to content

Commit

Permalink
staging: iio: dac: more consistent DAC sysfs attributes naming
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Nov 20, 2010
1 parent 861f670 commit 5a7f4fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/staging/iio/dac/dac.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 5a7f4fd

Please sign in to comment.