From: Jonathan Cameron <jic23@kernel.org>
To: Matt Ranostay <matt.ranostay@konsulko.com>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers
Date: Sun, 14 Jun 2020 14:35:23 +0100 [thread overview]
Message-ID: <20200614143523.121c47a5@archlinux> (raw)
In-Reply-To: <20200609030116.23013-1-matt.ranostay@konsulko.com>
On Tue, 9 Jun 2020 06:01:16 +0300
Matt Ranostay <matt.ranostay@konsulko.com> wrote:
> Add missing strings to iio_modifier_names[] for proper modification
> of channels.
>
> Fixes: b170f7d48443d (iio: Add modifiers for ethanol and H2 gases)
> Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Applied to the fixes-togreg branch of iio.git and marked for stable.
Thanks
Jonathan
> ---
> drivers/iio/industrialio-core.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
> index 1527f01a44f1..352533342702 100644
> --- a/drivers/iio/industrialio-core.c
> +++ b/drivers/iio/industrialio-core.c
> @@ -130,6 +130,8 @@ static const char * const iio_modifier_names[] = {
> [IIO_MOD_PM2P5] = "pm2p5",
> [IIO_MOD_PM4] = "pm4",
> [IIO_MOD_PM10] = "pm10",
> + [IIO_MOD_ETHANOL] = "ethanol",
> + [IIO_MOD_H2] = "h2",
> };
>
> /* relies on pairs of these shared then separate */
prev parent reply other threads:[~2020-06-14 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-09 3:01 [PATCH] iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers Matt Ranostay
2020-06-14 13:35 ` 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=20200614143523.121c47a5@archlinux \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=matt.ranostay@konsulko.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