mfd: palmas: Constify .data in OF table and {palmas,tps65917}_irq_chip
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 31 Aug 2023 18:31:51 +0000 (19:31 +0100)
committerLee Jones <lee@kernel.org>
Wed, 1 Nov 2023 10:02:10 +0000 (10:02 +0000)
commit93ec3d0e02806e19caf2908d9b592ee509e2df9c
tree525d5215a2c48d852f490ea805d5db6cee1fadd5
parent3f9a06dc7975d6261bdd252ba7e099d8f3514466
mfd: palmas: Constify .data in OF table and {palmas,tps65917}_irq_chip

Constify .data in OF table and {palmas,tps65917}_irq_chip and replace
the variable *features->features in struct palmas_driver_data and
drop the {palmas,tps659038}_features variables and use their values
directly in the named initialization.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230831183153.63750-3-biju.das.jz@bp.renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/palmas.c