Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] drm: Add component_match_add_of and convert users of drm_of_component_match_add
@ 2023-01-19 19:10 Sean Anderson
  2023-01-19 19:10 ` [PATCH v3 3/3] drm: Convert users of drm_of_component_match_add to component_match_add_of Sean Anderson
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Anderson @ 2023-01-19 19:10 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, dri-devel
  Cc: linux-kernel, Sean Anderson, Abhinav Kumar, Alain Volmat,
	Brian Starkey, Chen Feng, Chen-Yu Tsai, Christian Gmeiner,
	Chun-Kuang Hu, Dmitry Baryshkov, Jaroslav Kysela, Jernej Skrabec,
	Joerg Roedel, John Stultz, Jyri Sarha, Liam Girdwood, Liviu Dudau,
	Lucas Stach, Mali DP Maintainers, Mark Brown, Matthias Brugger,
	Mihail Atanassov, Paul Cercueil, Philipp Zabel, Rob Clark,
	Robin Murphy, Russell King, Samuel Holland, Sean Paul,
	Takashi Iwai, Tian Tao, Tomi Valkeinen, Will Deacon, Xinliang Liu,
	Xinwei Kong, Yong Wu, alsa-devel, etnaviv, freedreno, iommu,
	linux-arm-kernel, linux-arm-msm, linux-mediatek, linux-mips,
	linux-sunxi

This series adds a new function component_match_add_of to simplify the
common case of calling component_match_add_release with
component_release_of and component_compare_of. There is already
drm_of_component_match_add, which allows for a custom compare function.
However, all existing users just use component_compare_of (or an
equivalent).

Changes in v3:
- Rebase onto drm/drm-next

Changes in v2:
- Split off conversion from helper addition
- Rebase onto drm/drm-next

Sean Anderson (3):
  component: Add helper for device nodes
  iommu/sound: Use component_match_add_of helper
  drm: Convert users of drm_of_component_match_add to
    component_match_add_of

 .../gpu/drm/arm/display/komeda/komeda_drv.c   |  6 ++--
 drivers/gpu/drm/arm/hdlcd_drv.c               |  9 +-----
 drivers/gpu/drm/arm/malidp_drv.c              | 11 +------
 drivers/gpu/drm/armada/armada_drv.c           | 10 ++++---
 drivers/gpu/drm/drm_of.c                      | 29 +++----------------
 drivers/gpu/drm/etnaviv/etnaviv_drv.c         |  4 +--
 .../gpu/drm/hisilicon/kirin/kirin_drm_drv.c   |  3 +-
 drivers/gpu/drm/ingenic/ingenic-drm-drv.c     |  3 +-
 drivers/gpu/drm/mediatek/mtk_drm_drv.c        |  4 +--
 drivers/gpu/drm/msm/msm_drv.c                 | 14 ++++-----
 drivers/gpu/drm/sti/sti_drv.c                 |  3 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c             |  3 +-
 drivers/gpu/drm/tilcdc/tilcdc_external.c      | 10 ++-----
 drivers/iommu/mtk_iommu_v1.c                  |  3 +-
 include/drm/drm_of.h                          | 12 --------
 include/linux/component.h                     |  9 ++++++
 sound/soc/codecs/wcd938x.c                    |  6 ++--
 17 files changed, 45 insertions(+), 94 deletions(-)

-- 
2.35.1.1320.gc452695387.dirty


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

end of thread, other threads:[~2023-01-20 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 19:10 [PATCH v3 0/3] drm: Add component_match_add_of and convert users of drm_of_component_match_add Sean Anderson
2023-01-19 19:10 ` [PATCH v3 3/3] drm: Convert users of drm_of_component_match_add to component_match_add_of Sean Anderson
2023-01-20 11:15   ` AngeloGioacchino Del Regno
2023-01-20 15:36   ` Liviu Dudau

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