linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pinctrl/actions: Constify static variables
@ 2020-08-30 22:43 Rikard Falkeborn
  2020-08-30 22:43 ` [PATCH 1/3] pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and owl_pinmux_ops Rikard Falkeborn
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rikard Falkeborn @ 2020-08-30 22:43 UTC (permalink / raw)
  To: Andreas Färber, Manivannan Sadhasivam, Linus Walleij
  Cc: linux-arm-kernel, linux-gpio, linux-kernel, Rikard Falkeborn

Constify a couple of static variables which are not modified to allow
the compiler to put them in read-only memory. Patch 1/3 is probably
the most important one since those structs contain function pointer.
The patches are independent, and can be applied in any order. 
Compile-tested only.

Rikard Falkeborn (3):
  pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and
    owl_pinmux_ops
  pinctrl: actions: pinctrl-s700: Constify s700_padinfo[]
  pinctrl: actions: pinctrl-s900: Constify s900_padinfo[]

 drivers/pinctrl/actions/pinctrl-owl.c  | 4 ++--
 drivers/pinctrl/actions/pinctrl-s700.c | 2 +-
 drivers/pinctrl/actions/pinctrl-s900.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-12 10:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-30 22:43 [PATCH 0/3] pinctrl/actions: Constify static variables Rikard Falkeborn
2020-08-30 22:43 ` [PATCH 1/3] pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and owl_pinmux_ops Rikard Falkeborn
2020-08-30 22:43 ` [PATCH 2/3] pinctrl: actions: pinctrl-s700: Constify s700_padinfo[] Rikard Falkeborn
2020-08-30 22:43 ` [PATCH 3/3] pinctrl: actions: pinctrl-s900: Constify s900_padinfo[] Rikard Falkeborn
2020-08-31  9:15 ` [PATCH 0/3] pinctrl/actions: Constify static variables Manivannan Sadhasivam
2020-09-12 10:15 ` Linus Walleij

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).