Skip to content

i2c: stop using i2c_of_match_device()

Andy Shevchenko linux-devicetree linux-i2c linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: typec: stusb160x: Make use of device_get_match_data()drivers/usb/typec/stusb160x.c+4 -41 reply
2/3auxdisplay: ht16k33: Make use of device_get_match_data()drivers/auxdisplay/ht16k33.c+10 -511 replies
3/3i2c: Unexport i2c_of_match_device()drivers/i2c/i2c-core-of.c drivers/i2c/i2c-core.h include/linux/i2c.h+9 -120 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchHeikki Krogerus
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] i2c: stop using i2c_of_match_device()

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(-)
Signature · 1 line
2.39.1