From: Marco Felsch <m.felsch@pengutronix.de>
To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de,
angus@akkea.ca, tomas@novotny.cz
Cc: linux-iio@vger.kernel.org, kernel@pengutronix.de
Subject: [PATCH 2/2] iio: light: add missing vcnl4040 of_compatible
Date: Tue, 17 Sep 2019 16:56:37 +0200 [thread overview]
Message-ID: <20190917145637.22605-2-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20190917145637.22605-1-m.felsch@pengutronix.de>
Commit 5a441aade5b3 ("iio: light: vcnl4000 add support for the VCNL4040
proximity and light sensor") added the support for the vcnl4040 but
forgot to add the of_compatible. Fix this by adding it now.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
drivers/iio/light/vcnl4000.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c
index f522cb863e8c..16dacea9eadf 100644
--- a/drivers/iio/light/vcnl4000.c
+++ b/drivers/iio/light/vcnl4000.c
@@ -408,6 +408,10 @@ static const struct of_device_id vcnl_4000_of_match[] = {
.compatible = "vishay,vcnl4020",
.data = (void *)VCNL4010,
},
+ {
+ .compatible = "vishay,vcnl4040",
+ .data = (void *)VCNL4040,
+ },
{
.compatible = "vishay,vcnl4200",
.data = (void *)VCNL4200,
--
2.20.1
next prev parent reply other threads:[~2019-09-17 14:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-17 14:56 [PATCH 1/2] iio: light: fix vcnl4000 devicetree hooks Marco Felsch
2019-09-17 14:56 ` Marco Felsch [this message]
2019-09-18 14:47 ` [PATCH 2/2] iio: light: add missing vcnl4040 of_compatible Angus Ainslie
2019-10-05 12:30 ` Jonathan Cameron
2019-09-18 14:46 ` [PATCH 1/2] iio: light: fix vcnl4000 devicetree hooks Angus Ainslie
2019-10-05 12:27 ` Jonathan Cameron
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=20190917145637.22605-2-m.felsch@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=angus@akkea.ca \
--cc=jic23@kernel.org \
--cc=kernel@pengutronix.de \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=tomas@novotny.cz \
/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;
as well as URLs for NNTP newsgroup(s).