Re: [PATCH linux-next] drm/imx: Use device_match_of_node()

2022-11-28 Thread Ahmad Fatoum
Hello, On 17.11.22 08:11, ye.xingc...@zte.com.cn wrote: > From: ye xingchen > > Replace the open-code with device_match_of_node(). device_match_of_node() exists so a pointer to the function can be passed to class/driver_find_device. I see no reason to call it directly. I don't think you should

[PATCH linux-next] drm/imx: Use device_match_of_node()

2022-11-16 Thread ye.xingchen
From: ye xingchen Replace the open-code with device_match_of_node(). Signed-off-by: ye xingchen --- drivers/gpu/drm/imx/imx-drm-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index e060fa6c