From: Tang Dongxing <tang.dongx...@zte.com.cn> 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