[PATCH 0/4] Replace custom compare_dev with component_compare_of in drm

From: shao.mingyin
Date: Mon Mar 31 2025 - 05:26:06 EST


From: Tang Dongxing <tang.dongxing@xxxxxxxxxx>

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
hdlcd_drv.c and malidp_drv.c.

Tang Dongxing (4):
drm: adp: Replace custom compare_dev with component_compare_of
drm: arm: hdlcd: Replace custom compare_dev with component_compare_of
drm: malidp: Replace custom compare_dev with component_compare_of
drm: mediatek: Replace custom compare_dev with component_compare_of

drivers/gpu/drm/adp/adp_drv.c | 7 +------
drivers/gpu/drm/arm/hdlcd_drv.c | 7 +------
drivers/gpu/drm/arm/malidp_drv.c | 9 +--------
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 7 +------
4 files changed, 4 insertions(+), 26 deletions(-)

--
2.25.1