Skip to content

pinctrl/actions: Constify static variables

Rikard Falkeborn linux-arm-kernel linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pinctrl: actions: pinctrl-owl: Constify owl_pinctrl_ops and owl_pinmux_opsdrivers/pinctrl/actions/pinctrl-owl.c+2 -20 replies
2/3pinctrl: actions: pinctrl-s700: Constify s700_padinfo[]drivers/pinctrl/actions/pinctrl-s700.c+1 -10 replies
3/3pinctrl: actions: pinctrl-s900: Constify s900_padinfo[]drivers/pinctrl/actions/pinctrl-s900.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchManivannan Sadhasivam
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] pinctrl/actions: Constify static variables

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(-)
Signature · 1 line
2.28.0