i2c: Add i2c_get_match_data()
[ Upstream commit 564d73c4 ] Add i2c_get_match_data() to get match data for I2C, ACPI and DT-based matching, so that we can optimize the driver code. Suggested-by:Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Biju Das <biju.das.jz@bp.renesas.com> [wsa: simplified var initialization] Signed-off-by:
Wolfram Sang <wsa@kernel.org> Stable-dep-of: 119abf7d ("hwmon: (max16065) Fix alarm attributes") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading