rtc: pcf85063: Drop enum pcf85063_type and split pcf85063_cfg[]
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 17 Jul 2023 12:40:59 +0000 (13:40 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 27 Jul 2023 21:07:50 +0000 (23:07 +0200)
commit5789837c782771eadc9be47487067399609832e7
treea446e8a7543ca3a92c0ad9f1ce6655b8fd6a2437
parent68c624f860b30408afde81a91b4c9df3e915ed85
rtc: pcf85063: Drop enum pcf85063_type and split pcf85063_cfg[]

Drop enum pcf85063_type and split the array pcf85063_cfg[] as individual
variables, and make lines shorter by referring to e.g. &pcf85063_cfg
instead of &pcf85063_cfg[PCF85063].

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