diff options
author | 2024-12-24 21:05:04 +0800 | |
---|---|---|
committer | 2025-01-03 11:19:35 +0100 | |
commit | d784b43c2d8bf24c2c80ef45ccbc41588945c415 (patch) | |
tree | 9adade3d8a53e8c908687222b259195fc376ba05 /rust/kernel/pci.rs | |
parent | driver core: Constify API device_find_child() and adapt for various usages (diff) | |
download | wireguard-linux-d784b43c2d8bf24c2c80ef45ccbc41588945c415.tar.xz wireguard-linux-d784b43c2d8bf24c2c80ef45ccbc41588945c415.zip |
driver core: Simplify API device_find_child_by_name() implementation
Simplify device_find_child_by_name() implementation by both existing
API device_find_child() and device_match_name().
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241224-const_dfc_done-v5-5-6623037414d4@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/pci.rs')
0 files changed, 0 insertions, 0 deletions