regulator: mp886x: Make similar OF and ID table
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 26 Aug 2023 17:38:41 +0000 (18:38 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:31:26 +0000 (01:31 +0100)
commit9e38482cb562f03fe8d521a001d44eba176a9201
tree9872d519a4df5a9c591f9dadaef178464503923c
parent7169654ce0f754679c60a6e2f904f6f19e54bad1
regulator: mp886x: 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.

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