From: Tang Dongxing
Remove the custom device comparison function compare_dev and replace it
with the existing kernel helper component_compare_of
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 7 +--
1 file changed, 1 insertio
From: Zhang Enpei
Use dev_err_probe() to simplify the following code
sequence:
if (err != -EPROBE_DEFER)
dev_err(dev, ...);
else
dev_dbg(dev, ...);
return err;
Zhang Enpei (2):
gpu: drm: tegra: dpaux: Use dev_err_probe()
gpu: drm: xlnx: zynqmp_dp: Use dev_err_probe()
driv
From: Tang Dongxing
Remove the custom device comparison function compare_dev and replace it
with the existing kernel helper component_compare_of
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 7 +--
1 file changed, 1 insertion(+), 6 d
From: Zhang Enpei
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Zhang Enpei
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/xlnx/zynqmp_dp.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/g
From: Zhang Enpei
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Zhang Enpei
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/tegra/dpaux.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/g
From: Tang Dongxing
Remove the custom device comparison function compare_dev and replace it
with the existing kernel helper component_compare_of
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/adp/adp_drv.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(
From: Tang Dongxing
Remove the custom device comparison function compare_dev and replace it
with the existing kernel helper component_compare_of
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/arm/hdlcd_drv.c | 7 +--
1 file changed, 1 insertion(+), 6 deletion
From: Tang Dongxing
Remove the custom device comparison function compare_dev and replace it
with the existing kernel helper component_compare_of
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/arm/malidp_drv.c | 9 +
1 file changed, 1 insertion(+), 8 delet
From: Tang Dongxing
Remove the custom device comparison function compare_dev and replace it
with the existing kernel helper component_compare_of, as suggested in
the review feedback. This simplifies the code by eliminating redundant
logic and aligns with the pattern used in other DRM drivers like
From: Tang Dongxing
Replace the open-code with device_match_of_node().
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/imx/ipuv3/imx-drm-core.c
b/drivers/
From: Tang Dongxing
Replace the open-code with device_match_of_node().
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/adp/adp_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/adp/adp_drv.c b/drivers/gpu/drm/adp/adp_drv.c
i
From: Zhang Enpei
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Zhang Enpei
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/xlnx/zynqmp_dp.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/g
From: Tang Dongxing
Replace the open-code with device_match_of_node().
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/drm_mipi_dsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.
From: Tang Dongxing
Replace the open-code with device_match_of_node().
Signed-off-by: Tang Dongxing
Signed-off-by: Shao Mingyin
---
drivers/gpu/drm/drm_panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c
index c
14 matches
Mail list logo