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

`bd957x_regmap`, `bd9576_irqs` and `bd9576_irq_chip` are 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: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20240704-mfd-const-regmap_config-v2-6-0c8785b1331d@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rohm-bd9576.c