From: Jonathan Cameron <jic23@cam.ac.uk>
To: cliff.cai@analog.com
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
drivers@analog.com, device-drivers-devel@blackfin.uclinux.org
Subject: Re: [PATCH 1/3] Add MACRO for gyro quadrature correction
Date: Wed, 23 Mar 2011 11:11:38 +0000 [thread overview]
Message-ID: <4D89D56A.4090908@cam.ac.uk> (raw)
In-Reply-To: <1300871727-32239-1-git-send-email-cliff.cai@analog.com>
On 03/23/11 09:15, cliff.cai@analog.com wrote:
> From: Cliff Cai <cliff.cai@analog.com>
>
> Add gyro_z_quadrature_correction_raw define.
>
> Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
> ---
> 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)
>
prev parent reply other threads:[~2011-03-23 11:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D89D56A.4090908@cam.ac.uk \
--to=jic23@cam.ac.uk \
--cc=cliff.cai@analog.com \
--cc=device-drivers-devel@blackfin.uclinux.org \
--cc=drivers@analog.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox