i2c_of_match_device() is used by core and a couple of drivers. Instead, convert those drivers to use device_get_match_data() and unexport i2c_of_match_device(). Andy Shevchenko (3): usb: typec: stusb160x: Make use of device_get_match_data() auxdisplay: ht16k33: Make use of device_get_match_data() i2c: Unexport i2c_of_match_device() drivers/auxdisplay/ht16k33.c | 15 ++++++++++----- drivers/i2c/i2c-core-of.c | 1 - drivers/i2c/i2c-core.h | 9 +++++++++ drivers/usb/typec/stusb160x.c | 8 ++++---- include/linux/i2c.h | 11 ----------- 5 files changed, 23 insertions(+), 21 deletions(-) -- 2.39.1