remoteproc: core: Use device_match_of_node()
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 17 Nov 2022 07:41:06 +0000 (15:41 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 21 Nov 2022 17:15:03 +0000 (10:15 -0700)
commite63ae3f836e66bf956072a0d6dd09fbe2d45bf7a
tree3282f0c3384b057944a016a9afc8eb4a7b0354e0
parentee18f2715e85f4ef051851a0c4831ee7ad7d83b3
remoteproc: core: Use device_match_of_node()

Replace the open-code with device_match_of_node().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202211171541061366938@zte.com.cn
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/remoteproc_core.c