public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Add MACRO for gyro quadrature correction
@ 2011-03-23  9:15 cliff.cai
  2011-03-23  9:15 ` [PATCH 2/3 RESEND v3] IIO driver for Analog Devices Digital Output Gyroscope ADXRS450 cliff.cai
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: cliff.cai @ 2011-03-23  9:15 UTC (permalink / raw)
  To: linux-iio, linux-kernel; +Cc: drivers, jic23, device-drivers-devel, Cliff Cai

From: Cliff Cai <cliff.cai@analog.com>

Add gyro_z_quadrature_correction_raw define.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
---
 drivers/staging/iio/gyro/gyro.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/iio/gyro/gyro.h b/drivers/staging/iio/gyro/gyro.h
index b4ea5bf..b549561 100644
--- a/drivers/staging/iio/gyro/gyro.h
+++ b/drivers/staging/iio/gyro/gyro.h
@@ -57,6 +57,9 @@
 #define IIO_DEV_ATTR_GYRO_Z_CALIBSCALE(_mode, _show, _store, _addr)		\
 	IIO_DEVICE_ATTR(gyro_z_calibscale, _mode, _show, _store, _addr)
 
+#define IIO_DEV_ATTR_GYRO_Z_QUADRATURE_CORRECTION(_show, _addr)		\
+	IIO_DEVICE_ATTR(gyro_z_quadrature_correction_raw, S_IRUGO, _show, NULL, _addr)
+
 #define IIO_DEV_ATTR_GYRO(_show, _addr)			\
 	IIO_DEVICE_ATTR(gyro_raw, S_IRUGO, _show, NULL, _addr)
 
-- 
1.7.1


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

end of thread, other threads:[~2011-03-23 11:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23  9:15 [PATCH 1/3] Add MACRO for gyro quadrature correction cliff.cai
2011-03-23  9:15 ` [PATCH 2/3 RESEND v3] IIO driver for Analog Devices Digital Output Gyroscope ADXRS450 cliff.cai
2011-03-23 11:18   ` Jonathan Cameron
2011-03-23  9:15 ` [PATCH 3/3] Add ABI document for gyro quadrature correction cliff.cai
2011-03-23 10:24   ` [Device-drivers-devel] " Hennerich, Michael
2011-03-23 11:20     ` Jonathan Cameron
2011-03-23 11:11 ` [PATCH 1/3] Add MACRO " Jonathan Cameron

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