From: Jonathan Cameron <jic23@kernel.org>
To: Shraddha Barke <shraddha.6596@gmail.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Julia Lawall <julia.lawall@lip6.fr>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH] Staging: iio: cdc: Remove unused macro
Date: Sun, 20 Sep 2015 11:43:36 +0100 [thread overview]
Message-ID: <55FE8DD8.10809@kernel.org> (raw)
In-Reply-To: <1442407453-6030-1-git-send-email-shraddha.6596@gmail.com>
On 16/09/15 13:44, Shraddha Barke wrote:
> Remove the macro since it's not used anywhere throughout the kernel
>
> Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Whilst I have no objection to cleanup patches like this in general,
I would prefer a more thorough look at the driver. For example, the
macro 2 lines above isn't used either.
So I'm not going to take this patch as it adds unnecessary noise.
If you want to take a good look at the whole driver and see what
else needs cleaning up then that would be great!
Speaking of which. Lars, do you guys have any plans to get these devices
out of staging anytime soon? (or know of anyone else who does).
If not perhaps some guidance would help Shradda make that move if he is
interested in doing so?
Thanks,
Jonathan
> ---
> drivers/staging/iio/cdc/ad7746.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c
> index 10fa372..f5a807c 100644
> --- a/drivers/staging/iio/cdc/ad7746.c
> +++ b/drivers/staging/iio/cdc/ad7746.c
> @@ -43,7 +43,6 @@
> #define AD7746_REG_CAP_GAINH 15
> #define AD7746_REG_CAP_GAINL 16
> #define AD7746_REG_VOLT_GAINH 17
> -#define AD7746_REG_VOLT_GAINL 18
>
> /* Status Register Bit Designations (AD7746_REG_STATUS) */
> #define AD7746_STATUS_EXCERR BIT(3)
>
next prev parent reply other threads:[~2015-09-20 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 12:44 [PATCH] Staging: iio: cdc: Remove unused macro Shraddha Barke
2015-09-20 10:43 ` Jonathan Cameron [this message]
2015-09-20 16:44 ` Shraddha Barke
2015-09-20 20:06 ` Jonathan Cameron
2015-09-21 14:08 ` Shraddha Barke
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=55FE8DD8.10809@kernel.org \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=julia.lawall@lip6.fr \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=shraddha.6596@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.