diff options
author | Zijun Hu <quic_zijuhu@quicinc.com> | 2024-12-24 16:05:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-03 13:20:06 +0300 |
commit | cf7da549cf7235ea6c5b29cc547a05dbdeb3ef08 (patch) | |
tree | b5ed0c7d62aefac42f0e87b4ab977198c3849fd7 /scripts/lib/kdoc/kdoc_files.py | |
parent | 6a6fef929d2828ad2e5e5b03b369eb07c19c61a6 (diff) | |
download | linux-cf7da549cf7235ea6c5b29cc547a05dbdeb3ef08.tar.xz |
usb: typec: class: Remove both cable_match() and partner_match()
cable_match(), as matching function of device_find_child(), matches
a device with device type @typec_cable_dev_type, and its task can be
simplified by the recently introduced API device_match_type().
partner_match() is similar with cable_match() but with a different
device type @typec_partner_dev_type.
Remove both functions and use the API plus respective device type instead.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241224-const_dfc_done-v5-12-6623037414d4@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions