power: supply: sbs-battery: Make similar OF and ID table
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 31 Aug 2023 17:12:35 +0000 (18:12 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 12 Sep 2023 16:25:35 +0000 (18:25 +0200)
commita7d79bcc8364483b0d39c944d72b425cf06eccc5
treeb9d33f903725dc99afb2943b3dc6894d901ec315
parent02e673e59c3d374924422f74fb229ae4ee6715fc
power: supply: sbs-battery: 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 field is wrong for ID match.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230831171235.58477-1-biju.das.jz@bp.renesas.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c