i3c: move i3c_device_match_id to device.c and export it
authorVitor Soares <Vitor.Soares@synopsys.com>
Fri, 19 Jul 2019 13:30:54 +0000 (15:30 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Sat, 27 Jul 2019 09:22:19 +0000 (11:22 +0200)
commit934d24a5e1508e73c0001afb54a3916e4270428f
tree6d0ea86ce4114ad395d6d4cf7d3e9c62938e9310
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
i3c: move i3c_device_match_id to device.c and export it

Some I3C device drivers need to know which entry matches the
i3c_device object passed to the probe function

Let's move i3c_device_match_id() to device.c and export it so it can be
used by drivers.

Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/i3c/device.c
drivers/i3c/master.c
include/linux/i3c/device.h