From: Jonathan Cameron <jic23@kernel.org>
To: Matti Vaittinen <mazziesaccount@gmail.com>
Cc: Mehdi Djait <mehdi.djait.k@gmail.com>, linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: accel: kionix-kx022a: Remove the unused member g_range
Date: Sun, 5 Feb 2023 14:56:24 +0000 [thread overview]
Message-ID: <20230205145624.03785425@jic23-huawei> (raw)
In-Reply-To: <7b2be002-aef7-f7b2-0e7e-9666d4179a52@gmail.com>
On Mon, 30 Jan 2023 10:17:00 +0200
Matti Vaittinen <mazziesaccount@gmail.com> wrote:
> On 1/29/23 15:37, Mehdi Djait wrote:
> > The g_range member of the driver data struct is not used and
> > should therefore be removed
>
> Well spotted, thanks.
>
> >
> > Signed-off-by: Mehdi Djait <mehdi.djait.k@gmail.com>
> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Applied
>
> > ---
> > drivers/iio/accel/kionix-kx022a.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c
> > index 1d3af42ec0e1..bb43cb0acce4 100644
> > --- a/drivers/iio/accel/kionix-kx022a.c
> > +++ b/drivers/iio/accel/kionix-kx022a.c
> > @@ -162,7 +162,6 @@ struct kx022a_data {
> > int inc_reg;
> > int ien_reg;
> >
> > - unsigned int g_range;
> > unsigned int state;
> > unsigned int odr_ns;
> >
>
next prev parent reply other threads:[~2023-02-05 14:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-29 13:37 [PATCH 0/2] iio: accel: kionix-kx022a: Minor fixes Mehdi Djait
2023-01-29 13:37 ` [PATCH 1/2] iio: accel: kionix-kx022a: Fix the setting of regmap_config rd_table and wr_table Mehdi Djait
2023-01-30 7:37 ` Matti Vaittinen
2023-01-31 19:32 ` Mehdi Djait
2023-01-29 13:37 ` [PATCH 2/2] iio: accel: kionix-kx022a: Remove the unused member g_range Mehdi Djait
2023-01-30 8:17 ` Matti Vaittinen
2023-02-05 14:56 ` Jonathan Cameron [this message]
2023-01-30 8:15 ` [PATCH 0/2] iio: accel: kionix-kx022a: Minor fixes Matti Vaittinen
2023-01-31 19:48 ` Mehdi Djait
2023-02-01 5:36 ` Matti Vaittinen
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=20230205145624.03785425@jic23-huawei \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=mazziesaccount@gmail.com \
--cc=mehdi.djait.k@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox