]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: tps65910: Constify struct regmap_irq_chip
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 4 Jul 2024 17:23:29 +0000 (19:23 +0200)
committerLee Jones <lee@kernel.org>
Fri, 30 Aug 2024 08:40:12 +0000 (09:40 +0100)
commit9544cc6552da3840146104b2363d64c40b3d09d9
tree91b7a3234ae320a028f63edc1388062482520806
parent36b6675f784e58f8aa0d274822f1b9d01add9c94
mfd: tps65910: Constify struct regmap_irq_chip

`tps65910_irq_chip` and `tps65911_irq_chip` are not modified and can be
declared as const to move their data to a read-only section.

The pointer used to reference those structs has also been converted to
const.

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