From: Philipp Zabel <p.zabel@pengutronix.de>
To: devicetree@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>,
Alessandro Zummo <a.zummo@towertech.it>,
Russell King <linux@arm.linux.org.uk>,
Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Wolfram Sang <wsa@the-dreams.de>,
Rob Herring <robh+dt@kernel.org>,
Paul Mackerras <paulus@samba.org>,
Kumar Gala <galak@codeaurora.org>,
linuxppc-dev@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [RFC PATCH 5/6] rtc: rtc-isl12022: Change vendor prefix for Intersil Corporation to isil
Date: Fri, 22 Aug 2014 10:57:09 +0200 [thread overview]
Message-ID: <1408697829.3118.28.camel@paszta.hi.pengutronix.de> (raw)
In-Reply-To: <1408524184-31928-6-git-send-email-p.zabel@pengutronix.de>
Am Mittwoch, den 20.08.2014, 10:43 +0200 schrieb Philipp Zabel:
> Currently there is a wild mixture of isl, isil, and intersil
> compatibles in the kernel. At this point, changing the vendor
> symbol to the most often used variant, which is equal to the
> NASDAQ symbol, isil, should not hurt, since the isl1208 driver
> doesn't care either way.
> Patch db04d6284e2a added device tree support using the then
> documented isl vendor prefix, so we keep that around for
> backwards compatibility.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
> drivers/rtc/rtc-isl12022.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c
> index aa55f08..df20f18 100644
> --- a/drivers/rtc/rtc-isl12022.c
> +++ b/drivers/rtc/rtc-isl12022.c
> @@ -275,7 +275,8 @@ static int isl12022_probe(struct i2c_client *client,
>
> #ifdef CONFIG_OF
> static struct of_device_id isl12022_dt_match[] = {
> - { .compatible = "isl,isl12022" },
> + { .compatible = "isil,isl12022" },
> + { .compatible = "isl,isl12022" }, /* for backwards compatibility */
Actually, is it even necessary to keep this around in here?
If of_driver_match_device fails, i2c_device_match will continue to try
i2c_match_id if driver->id_table is set, which matches against the
result of of_modalias_node (dropping the vendor prefix altogether).
regards
Philipp
next prev parent reply other threads:[~2014-08-22 8:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 8:42 [RFC PATCH 0/6] Change vendor prefix for Intersil Corporation Philipp Zabel
2014-08-20 8:42 ` [RFC PATCH 1/6] of: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
2014-08-20 8:43 ` [RFC PATCH 2/6] Documentation: Add isl1208 and isl12022 to trivial-devices list Philipp Zabel
2014-08-20 8:43 ` [RFC PATCH 3/6] ARM: mvebu: Change vendor prefix for Intersil Corporation to isil Philipp Zabel
2014-08-20 8:43 ` [RFC PATCH 4/6] powerpc/85xx: " Philipp Zabel
2014-08-22 3:12 ` Rob Herring
2014-08-20 8:43 ` [RFC PATCH 5/6] rtc: rtc-isl12022: " Philipp Zabel
2014-08-22 8:57 ` Philipp Zabel [this message]
2014-08-20 8:43 ` [RFC PATCH 6/6] rtc: rtc-isl12057: " Philipp Zabel
2014-08-20 12:40 ` Sergei Shtylyov
2014-08-20 12:16 ` [RFC PATCH 0/6] Change vendor prefix for Intersil Corporation Jason Cooper
2014-09-07 13:32 ` Jason Cooper
2014-09-08 9:20 ` Philipp Zabel
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=1408697829.3118.28.camel@paszta.hi.pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=a.zummo@towertech.it \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@arm.linux.org.uk \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mark.rutland@arm.com \
--cc=paulus@samba.org \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=wsa@the-dreams.de \
/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).