OSDN Git Service

i3c: Simplify i3c_device_match_id()
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 27 Feb 2020 11:31:09 +0000 (12:31 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 28 Feb 2020 08:36:01 +0000 (09:36 +0100)
commit65ec1d0ddf24e9ebba1e5d87e78c20ccf53199cd
tree3c7d6b90b298e67b9bfff9a282ed1cea8c73f1ca
parent1ce589ad3933aa15c1a2abbb5b5e3ad5de330423
i3c: Simplify i3c_device_match_id()

Simply match against ->match_flags instead of trying to be smart and
fix drivers inconsistent ID tables.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Link: https://lore.kernel.org/linux-i3c/8c5d6523e1c161783db834a3447954f7fd6267e6.1582796652.git.vitor.soares@synopsys.com
drivers/i3c/device.c