mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] Replace custom compare_dev with component_compare_of in drm
@ 2025-03-31  9:25 shao.mingyin
  2025-03-31  9:28 ` [PATCH 1/4] drm: adp: Replace custom compare_dev with component_compare_of shao.mingyin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: shao.mingyin @ 2025-03-31  9:25 UTC (permalink / raw)
  To: j, liviu.dudau, chunkuang.hu
  Cc: fnkl.kernel, maarten.lankhorst, mripard, tzimmermann, airlied,
	simona, dri-devel, asahi, linux-kernel, p.zabel, matthias.bgg,
	angelogioacchino.delregno, linux-mediatek, linux-arm-kernel,
	yang.yang29, xu.xin16, ye.xingchen, tang.dongxing

From: Tang Dongxing <tang.dongxing@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-01 21:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-31  9:25 [PATCH 0/4] Replace custom compare_dev with component_compare_of in drm shao.mingyin
2025-03-31  9:28 ` [PATCH 1/4] drm: adp: Replace custom compare_dev with component_compare_of shao.mingyin
2025-03-31 11:34   ` Janne Grunau
2025-03-31  9:30 ` [PATCH 2/4] drm: arm: hdlcd: " shao.mingyin
2025-04-01 21:11   ` Liviu Dudau
2025-03-31  9:31 ` [PATCH 3/4] drm: malidp: " shao.mingyin
2025-04-01 21:12   ` Liviu Dudau
2025-03-31  9:32 ` [PATCH 4/4] drm: mediatek: " shao.mingyin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®