Commit 514a1508 authored by Biju Das's avatar Biju Das Committed by Greg Kroah-Hartman
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
[wsa: simplified var initialization]
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Stable-dep-of: 119abf7d ("hwmon: (max16065) Fix alarm attributes")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 167e4371
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment