[PATCH v5 10/12] cxl/pmem: Replace match_nvdimm_bridge() with API device_match_type()

Jonathan Cameron Jonathan.Cameron at huawei.com
Tue Dec 24 16:25:10 UTC 2024


On Tue, 24 Dec 2024 21:05:09 +0800
Zijun Hu <zijun_hu at icloud.com> wrote:

> From: Zijun Hu <quic_zijuhu at quicinc.com>
> 
> 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 at intel.com>
> Signed-off-by: Zijun Hu <quic_zijuhu at quicinc.com>
With new follow up, I'm fine with this.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>


More information about the dri-devel mailing list