pinctrl: apple: Make regmap_config static const and fix indentation
authorJohn Madieu <john.madieu@labcsmart.com>
Sat, 29 Mar 2025 18:15:06 +0000 (18:15 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Apr 2025 07:46:31 +0000 (09:46 +0200)
commit434ad6905adba70e9fa529155653bbb41886c1a3
tree68bfda2c9497ea1d713d3ab3419dc28ed138067b
parent86dee87f4b2e6ac119b03810e58723d0b27787a4
pinctrl: apple: Make regmap_config static const and fix indentation

Mark the regmap_config as static const since it is only used in this file
and never modified, allowing the compiler to optimize it and enforce
const-correctness.

Also fix minor indentation inconsistencies in function parameter alignment
to conform with kernel coding style.

Signed-off-by: John Madieu <john.madieu@labcsmart.com>
Link: https://lore.kernel.org/20250329181506.890043-1-john.madieu@labcsmart.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-apple-gpio.c