pinctrl: ti-iodelay: Constify struct regmap_config
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 4 Jul 2024 18:36:43 +0000 (20:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2024 07:07:41 +0000 (09:07 +0200)
commitd801403c3324ecb8b79e1840f87cce01c4926cdc
tree91ea3bda260262f6693253e14ff2e0bb2891cee1
parentd21fe1e9a6a44e752e227d3a43f41aed790dad95
pinctrl: ti-iodelay: Constify struct regmap_config

`dra7_iodelay_regmap_config` is not modified and can be declared as
const to move its data to a read-only section.

The pointer used to reference that struct has been made const
accordingly.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/20240704-pinctrl-const-regmap_config-v1-1-9d5570f0b9f3@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/ti/pinctrl-ti-iodelay.c