]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: intel-m10-bmc: Constify struct regmap_config
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 4 Jul 2024 17:23:17 +0000 (19:23 +0200)
committerLee Jones <lee@kernel.org>
Fri, 30 Aug 2024 08:40:11 +0000 (09:40 +0100)
commit9842c62162858c7b0625dd3e00085b68167257d3
tree7fa1435def09a457a11eb227cf48b012eb7f2cf8
parentc3bd9a0fb68539917b9000efcb549da28ae78a63
mfd: intel-m10-bmc: Constify struct regmap_config

`m10bmc_pmci_regmap_config` and `intel_m10bmc_regmap_config` are not
modified and can be declared as const to move their 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-7-0c8785b1331d@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel-m10-bmc-pmci.c
drivers/mfd/intel-m10-bmc-spi.c