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

The 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.

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-13-0c8785b1331d@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rohm-bd71828.c