lkml.org 
[lkml]   [2023]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/3] i2c: stop using i2c_of_match_device()
Date
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

\
 
 \ /
  Last update: 2023-03-27 00:30    [W:0.105 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site