]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: mc13xxx-spi: Constify struct regmap_bus
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 4 Jul 2024 17:23:33 +0000 (19:23 +0200)
committerLee Jones <lee@kernel.org>
Fri, 30 Aug 2024 08:40:13 +0000 (09:40 +0100)
commitef29932370d54516f98f88196fc3f5c7e12ed50a
tree00a0c7a8d1f2b5958596a2cf850c885984d89767
parent9bc6a6bb9f55c445c760874fee1297d29799c964
mfd: mc13xxx-spi: Constify struct regmap_bus

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

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