]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: retu: Constify read-only regmap structs
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 4 Jul 2024 17:23:21 +0000 (19:23 +0200)
committerLee Jones <lee@kernel.org>
Fri, 30 Aug 2024 08:40:12 +0000 (09:40 +0100)
commit5af1a4caa710362856034152de44d505f0cdd173
tree0a8721470eb7c385e7e5259c281c36d786055897
parenta3cf8baf2464ecbd036e7f7773d6ab2e4d9aa532
mfd: retu: Constify read-only regmap structs

The regmap_bus, regmap_irq and regmap_irq_chip structs are not modified
and can be declared as const to move their data to a read-only section.

The pointer to reference the regmap_irq_chip structs has been converted
to const.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240704-mfd-const-regmap_config-v2-11-0c8785b1331d@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/retu-mfd.c