aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/platform.rs
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-12-24 21:05:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-03 11:20:06 +0100
commit98d4a843437401429fea1c1957d5cce242f5e4c4 (patch)
tree511a06fada772e3a04978df65902e41fe4065852 /rust/kernel/platform.rs
parentdriver core: Introduce an device matching API device_match_type() (diff)
downloadwireguard-linux-98d4a843437401429fea1c1957d5cce242f5e4c4.tar.xz
wireguard-linux-98d4a843437401429fea1c1957d5cce242f5e4c4.zip
cxl/pmem: Replace match_nvdimm_bridge() with API device_match_type()
Static match_nvdimm_bridge(), as matching function of device_find_child() matches a device with device type @cxl_nvdimm_bridge_type, and its task can be simplified by the recently introduced API device_match_type(). Replace match_nvdimm_bridge() usage with device_match_type(). Reviewed-by: Alison Schofield <alison.schofield@intel.com> Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20241224-const_dfc_done-v5-10-6623037414d4@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/platform.rs')
0 files changed, 0 insertions, 0 deletions