regulator: sy8824x: Make similar OF and ID table
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 28 Aug 2023 16:54:47 +0000 (17:54 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:31:24 +0000 (01:31 +0100)
commit24d95bb0460aeccfa008faf12721474336d4e0c3
tree4f94e74ae9f2423da48b26d1f6735d857afaae1c
parent364a399b7ca35e8f2291ab95bff28baa6e119efe
regulator: sy8824x: Make similar OF and ID table

Make similar OF and ID table to extend support for ID match using
i2c_match_data(). Currently it works only for OF match tables as the
driver_data is wrong for ID match.

While at it, drop trailing comma in the terminator entry from ID
table.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230828165447.106058-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sy8824x.c