rtc: isl1208: Drop enum isl1208_id and split isl1208_configs[]
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 23 Jun 2023 14:09:46 +0000 (15:09 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 25 Jun 2023 22:58:21 +0000 (00:58 +0200)
commit5923fc75d0dfcebce53894ddada7e2440d756f8b
tree6d605def991926cf5e8493b5a601db518c5c6a60
parentfbc06a53561c64ec6d7f9a1b3bc04597de4cbb2d
rtc: isl1208: Drop enum isl1208_id and split isl1208_configs[]

Drop enum isl1208_id and split the array isl1208_configs[] as individual
variables, and make lines shorter by referring to e.g. &config_isl1219
instead of &isl1208_configs[TYPE_ISL1219].

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230623140948.384762-9-biju.das.jz@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c