Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] staging: iio: dac: more consistent DAC sysfs attributes naming
@ 2010-11-19 11:46 michael.hennerich
  2010-11-19 12:18 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: michael.hennerich @ 2010-11-19 11:46 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio, drivers, device-drivers-devel, Michael Hennerich

From: Michael Hennerich <michael.hennerich@analog.com>

Align DAC sysfs attributes naming with the convention used by ADC

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
---
 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)
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: iio: dac: more consistent DAC sysfs attributes naming
  2010-11-19 11:46 [PATCH] staging: iio: dac: more consistent DAC sysfs attributes naming michael.hennerich
@ 2010-11-19 12:18 ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2010-11-19 12:18 UTC (permalink / raw)
  To: michael.hennerich; +Cc: linux-iio, drivers, device-drivers-devel

On 11/19/10 11:46, michael.hennerich@analog.com wrote:
> From: Michael Hennerich <michael.hennerich@analog.com>
> 
> 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>
> ---
>  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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] staging: iio: dac: more consistent DAC sysfs attributes naming
@ 2010-11-19 12:32 michael.hennerich
  0 siblings, 0 replies; 3+ messages in thread
From: michael.hennerich @ 2010-11-19 12:32 UTC (permalink / raw)
  To: greg; +Cc: linux-iio, drivers, jic23, device-drivers-devel,
	Michael Hennerich

From: Michael Hennerich <michael.hennerich@analog.com>

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-19 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19 11:46 [PATCH] staging: iio: dac: more consistent DAC sysfs attributes naming michael.hennerich
2010-11-19 12:18 ` Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2010-11-19 12:32 michael.hennerich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox