From: Florian Fainelli <f.fainelli@gmail.com>
To: "Rikard Falkeborn" <rikard.falkeborn@gmail.com>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Álvaro Fernández Rojas" <noltari@gmail.com>
Cc: bcm-kernel-feedback-list@broadcom.com,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] pinctrl: bcm: Constify static pinmux_ops
Date: Sat, 5 Jun 2021 20:36:11 -0700 [thread overview]
Message-ID: <47d98677-556f-0f07-7089-b5f95c6739b0@gmail.com> (raw)
In-Reply-To: <20210605185908.39982-3-rikard.falkeborn@gmail.com>
On 6/5/2021 11:59 AM, Rikard Falkeborn wrote:
> These are only assigned, either directly or via the bcm63xx_pinctrl_soc
> struct, to the pmxops field in the pinctrl_desc struct and never
> modified, so make them const to allow the compiler to put them in
> read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
next prev parent reply other threads:[~2021-06-06 3:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-05 18:59 [PATCH 0/2] pinctrl: bcm: Constify static ops structs Rikard Falkeborn
2021-06-05 18:59 ` [PATCH 1/2] pinctrl: bcm: Constify static pinctrl_ops Rikard Falkeborn
2021-06-06 3:35 ` Florian Fainelli
2021-06-05 18:59 ` [PATCH 2/2] pinctrl: bcm: Constify static pinmux_ops Rikard Falkeborn
2021-06-06 3:36 ` Florian Fainelli [this message]
2021-06-09 9:18 ` [PATCH 0/2] pinctrl: bcm: Constify static ops structs Linus Walleij
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=47d98677-556f-0f07-7089-b5f95c6739b0@gmail.com \
--to=f.fainelli@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=noltari@gmail.com \
--cc=rikard.falkeborn@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;
as well as URLs for NNTP newsgroup(s).