]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: max20086: Make similar OF and ID table
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 3 Sep 2023 15:42:57 +0000 (16:42 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:31:27 +0000 (01:31 +0100)
commit9d9cd8e6a4572efa328ef72a83bbc78a39deca37
tree4eb97594465c604783f9987d193524ff69788c4a
parent9e38482cb562f03fe8d521a001d44eba176a9201
regulator: max20086: 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 blank lines before MODULE_DEVICE_TABLE* and remove
trailing comma in the terminator entry for OF/ID table.

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