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

`sprd_pmic_regmap` 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>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240704-mfd-const-regmap_config-v2-24-0c8785b1331d@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sprd-sc27xx-spi.c