mbox series

[RFC,0/2] Extend device_get_match_data() to struct bus_type

Message ID 20230723083721.35384-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Extend device_get_match_data() to struct bus_type | expand

Message

Biju Das July 23, 2023, 8:37 a.m. UTC
This patch series extend device_get_match_data() to struct bus_type,
so that buses like I2C can get matched data.

Biju Das (2):
  drivers: fwnode: Extend device_get_match_data() to struct bus_type
  i2c: Add i2c_device_get_match_data() callback

 drivers/base/property.c     |  8 +++++++-
 drivers/i2c/i2c-core-base.c | 38 +++++++++++++++++++++++++++++--------
 include/linux/device/bus.h  |  3 +++
 3 files changed, 40 insertions(+), 9 deletions(-)