mbox series

[0/2] pinctrl: bcm: Constify static ops structs

Message ID 20210605185908.39982-1-rikard.falkeborn@gmail.com (mailing list archive)
Headers show
Series pinctrl: bcm: Constify static ops structs | expand

Message

Rikard Falkeborn June 5, 2021, 6:59 p.m. UTC
Constify a number of pinctrl_ops and pinmux_ops that are never modified
to allow the compiler to put them in read-only memory.

Rikard Falkeborn (2):
  pinctrl: bcm: Constify static pinctrl_ops
  pinctrl: bcm: Constify static pinmux_ops

 drivers/pinctrl/bcm/pinctrl-bcm6318.c  | 4 ++--
 drivers/pinctrl/bcm/pinctrl-bcm63268.c | 4 ++--
 drivers/pinctrl/bcm/pinctrl-bcm6328.c  | 4 ++--
 drivers/pinctrl/bcm/pinctrl-bcm6358.c  | 4 ++--
 drivers/pinctrl/bcm/pinctrl-bcm6362.c  | 4 ++--
 drivers/pinctrl/bcm/pinctrl-bcm6368.c  | 4 ++--
 drivers/pinctrl/bcm/pinctrl-bcm63xx.h  | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

Comments

Linus Walleij June 9, 2021, 9:18 a.m. UTC | #1
On Sat, Jun 5, 2021 at 8:59 PM Rikard Falkeborn
<rikard.falkeborn@gmail.com> wrote:

> Constify a number of pinctrl_ops and pinmux_ops that are never modified
> to allow the compiler to put them in read-only memory.

Patches applied!

Yours,
Linus Walleij