All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/23] component: Add common helpers for compare/release
@ 2022-02-14  6:07 ` Yong Wu via iommu
  0 siblings, 0 replies; 163+ messages in thread
From: Yong Wu @ 2022-02-14  6:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman, David Airlie, Daniel Vetter, dri-devel
  Cc: James Wang, Liviu Dudau, iommu, Matthias Brugger,
	Krzysztof Kozlowski, linux-kernel, Joerg Roedel, Will Deacon,
	Arnd Bergmann, Laurent Pinchart, linux-mediatek, Chun-Kuang Hu,
	linux-arm-kernel, Stephen Boyd, AngeloGioacchino Del Regno,
	Hsin-Yi Wang, Robin Murphy, Tomasz Figa, srv_heupstream,
	Rob Clark, Srinivas Kandagatla, Sebastian Reichel

The component requires the compare/release functions, there are many
copies in current kernel. This patchset just defines four common helpers
for them. No functional change.

Change note:
v1: a) Split the original patch into many small patches.
    b) Use device_match_of_node helper.
    c) Move the functions into c and export since
    the callback doesn't look like it should be "inline".
    d) Add "component_" prefix for the functon names.
    e) Add a new component_compare_dev_name.    

RFC: https://lore.kernel.org/dri-devel/20220128081101.27837-1-yong.wu@mediatek.com/
    rebase on v5.17-rc1

Yong Wu (23):
  component: Add common helper for compare/release functions
  drm/komeda: Make use of the helper component_compare_of
  drm/armada: Make use of the helper component_compare_of/dev_name
  drm/etnaviv: Make use of the helper component_compare_of/dev_name
  drm/hirin: Make use of the helper component_compare_of
  drm/ingenic: Make use of the helper component_compare_of
  drm/mediatek: Make use of the helper component_compare_of
  drm/meson: Make use of the helper component_compare_of
  drm/msm: Make use of the helper component_compare_of
  drm/sprd: Make use of the helper component_compare_of
  drm/sti: Make use of the helper component_compare_of
  drm/sun4i: Make use of the helper component_compare_of
  drm/rockchip: Make use of the helper component_compare_dev
  drm/exynos: Make use of the helper component_compare_dev
  drm/mcde: Make use of the helper component_compare_dev
  drm/omap: dss: Make use of the helper component_compare_dev
  drm/vc4: Make use of the helper component_compare_dev
  drm: of: Make use of the helper component_release_of
  iommu/mediatek: Make use of the helper component_compare/release_of
  ASoC: codecs: wcd938x: Make use of the helper
    component_compare/release_of
  power: supply: ab8500: Make use of the helper component_compare_dev
  video: omapfb: dss: Make use of the helper component_compare_dev
  ALSA: hda/realtek: Make use of the helper component_compare_dev_name

 drivers/base/component.c                      | 58 +++++++++++++++++++
 .../gpu/drm/arm/display/komeda/komeda_drv.c   |  7 +--
 drivers/gpu/drm/armada/armada_drv.c           | 17 +-----
 drivers/gpu/drm/drm_of.c                      |  7 +--
 drivers/gpu/drm/etnaviv/etnaviv_drv.c         | 16 +----
 drivers/gpu/drm/exynos/exynos_drm_drv.c       |  8 +--
 .../gpu/drm/hisilicon/kirin/kirin_drm_drv.c   |  7 +--
 drivers/gpu/drm/ingenic/ingenic-drm-drv.c     |  7 +--
 drivers/gpu/drm/mcde/mcde_drv.c               |  7 +--
 drivers/gpu/drm/mediatek/mtk_drm_drv.c        |  7 +--
 drivers/gpu/drm/meson/meson_drv.c             | 10 +---
 drivers/gpu/drm/msm/msm_drv.c                 | 15 +----
 drivers/gpu/drm/omapdrm/dss/dss.c             |  8 +--
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c   |  7 +--
 drivers/gpu/drm/sprd/sprd_drm.c               |  7 +--
 drivers/gpu/drm/sti/sti_drv.c                 |  7 +--
 drivers/gpu/drm/sun4i/sun4i_drv.c             | 11 +---
 drivers/gpu/drm/vc4/vc4_drv.c                 |  7 +--
 drivers/iommu/mtk_iommu.c                     |  4 +-
 drivers/iommu/mtk_iommu.h                     | 10 ----
 drivers/iommu/mtk_iommu_v1.c                  |  4 +-
 drivers/power/supply/ab8500_charger.c         |  8 +--
 drivers/video/fbdev/omap2/omapfb/dss/dss.c    |  8 +--
 include/linux/component.h                     |  6 ++
 sound/pci/hda/patch_realtek.c                 | 11 +---
 sound/soc/codecs/wcd938x.c                    | 18 ++----
 26 files changed, 99 insertions(+), 183 deletions(-)

-- 
2.18.0



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

end of thread, other threads:[~2022-02-25 11:08 UTC | newest]

Thread overview: 163+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14  6:07 [PATCH 00/23] component: Add common helpers for compare/release Yong Wu
2022-02-14  6:07 ` Yong Wu
2022-02-14  6:07 ` Yong Wu
2022-02-14  6:07 ` Yong Wu
2022-02-14  6:07 ` Yong Wu via iommu
2022-02-14  6:07 ` [PATCH 01/23] component: Add common helper for compare/release functions Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu via iommu
2022-02-14  6:07 ` [PATCH 02/23] drm/komeda: Make use of the helper component_compare_of Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu via iommu
2022-02-14  6:07 ` [PATCH 03/23] drm/armada: Make use of the helper component_compare_of/dev_name Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu
2022-02-14  6:07   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 04/23] drm/etnaviv: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 05/23] drm/hirin: Make use of the helper component_compare_of Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 06/23] drm/ingenic: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14 10:03   ` Paul Cercueil
2022-02-14 10:03     ` Paul Cercueil
2022-02-14 10:03     ` Paul Cercueil
2022-02-14 10:03     ` Paul Cercueil
2022-02-14 10:03     ` Paul Cercueil
2022-02-14  6:08 ` [PATCH 07/23] drm/mediatek: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 08/23] drm/meson: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 09/23] drm/msm: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 10/23] drm/sprd: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 11/23] drm/sti: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 12/23] drm/sun4i: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 13/23] drm/rockchip: Make use of the helper component_compare_dev Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  8:03   ` Heiko Stübner
2022-02-14  8:03     ` Heiko Stübner
2022-02-14  8:03     ` Heiko Stübner
2022-02-14  8:03     ` Heiko Stübner
2022-02-14  8:03     ` Heiko Stübner
2022-02-14  8:03     ` Heiko Stübner
2022-02-14  6:08 ` [PATCH 14/23] drm/exynos: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 15/23] drm/mcde: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 16/23] drm/omap: dss: " Yong Wu via iommu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08 ` [PATCH 17/23] drm/vc4: " Yong Wu via iommu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08 ` [PATCH 18/23] drm: of: Make use of the helper component_release_of Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08 ` [PATCH 19/23] iommu/mediatek: Make use of the helper component_compare/release_of Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 20/23] ASoC: codecs: wcd938x: " Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14 12:40   ` Mark Brown
2022-02-14 12:40     ` Mark Brown
2022-02-14 12:40     ` Mark Brown
2022-02-14 12:40     ` Mark Brown
2022-02-14 12:40     ` Mark Brown
2022-02-14 12:40     ` Mark Brown
2022-02-14 12:43     ` AngeloGioacchino Del Regno
2022-02-14 12:43       ` AngeloGioacchino Del Regno
2022-02-14 12:43       ` AngeloGioacchino Del Regno
2022-02-14 12:43       ` AngeloGioacchino Del Regno
2022-02-14 12:43       ` AngeloGioacchino Del Regno
2022-02-14 12:43       ` AngeloGioacchino Del Regno
2022-02-15  2:27       ` Yong Wu
2022-02-15  2:27         ` Yong Wu
2022-02-15  2:27         ` Yong Wu
2022-02-15  2:27         ` Yong Wu
2022-02-15  2:27         ` Yong Wu via iommu
2022-02-15  2:27         ` Yong Wu
2022-02-14  6:08 ` [PATCH 21/23] power: supply: ab8500: Make use of the helper component_compare_dev Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu via iommu
2022-02-14  6:08 ` [PATCH 22/23] video: omapfb: dss: " Yong Wu via iommu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-15 20:46   ` Helge Deller
2022-02-15 20:46     ` Helge Deller
2022-02-15 20:46     ` Helge Deller
2022-02-15 20:46     ` Helge Deller
2022-02-15 20:46     ` Helge Deller
2022-02-25 11:07     ` Greg Kroah-Hartman
2022-02-25 11:07       ` Greg Kroah-Hartman
2022-02-25 11:07       ` Greg Kroah-Hartman
2022-02-25 11:07       ` Greg Kroah-Hartman
2022-02-25 11:07       ` Greg Kroah-Hartman
2022-02-14  6:08 ` [PATCH 23/23] ALSA: hda/realtek: Make use of the helper component_compare_dev_name Yong Wu via iommu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu
2022-02-14  6:08   ` Yong Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.