[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D89D56A.4090908@cam.ac.uk>
Date: Wed, 23 Mar 2011 11:11:38 +0000
From: Jonathan Cameron <jic23@....ac.uk>
To: cliff.cai@...log.com
CC: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
drivers@...log.com, device-drivers-devel@...ckfin.uclinux.org
Subject: Re: [PATCH 1/3] Add MACRO for gyro quadrature correction
On 03/23/11 09:15, cliff.cai@...log.com wrote:
> From: Cliff Cai <cliff.cai@...log.com>
>
> Add gyro_z_quadrature_correction_raw define.
>
> Signed-off-by: Cliff Cai <cliff.cai@...log.com>
Acked-by: Jonathan Cameron <jic23@....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)
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists