From: Linus Walleij <linus.walleij@linaro.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Fabian Frederick" <fabf@skynet.be>
Cc: Sascha Hauer <kernel@pengutronix.de>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v2] pinctrl: make of_device_ids const
Date: Tue, 7 Apr 2015 11:09:57 +0200 [thread overview]
Message-ID: <CACRpkdbWm3TJc_oHdZccT73qUH7jwpu2Q4BR2gn2gz-tizn0wQ@mail.gmail.com> (raw)
In-Reply-To: <1427407231-2253-1-git-send-email-u.kleine-koenig@pengutronix.de>
On Thu, Mar 26, 2015 at 11:00 PM, Uwe Kleine-König
<u.kleine-koenig@pengutronix.de> wrote:
> of_device_ids (i.e. compatible strings and the respective data) are not
> supposed to change at runtime. All functions working with of_device_ids
> provided by <linux/of.h> work with const of_device_ids. This allows to
> mark all struct of_device_id below drivers/pinctrl const, too.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
I already have a patch like this from Fabian Frederick in my
devel branch.
If some instances were missed by that patch please correct these
and send a patch on top of my devel branch.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-04-07 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 22:00 [PATCH v2] pinctrl: make of_device_ids const Uwe Kleine-König
2015-04-07 9:09 ` Linus Walleij [this message]
2015-04-09 11:00 ` Uwe Kleine-König
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=CACRpkdbWm3TJc_oHdZccT73qUH7jwpu2Q4BR2gn2gz-tizn0wQ@mail.gmail.com \
--to=linus.walleij@linaro.org \
--cc=fabf@skynet.be \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.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).