Re: [PATCH] drm: Use device_get_match_data()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/10/2023 15:52, Rob Herring wrote:
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step. With this, adjust the
includes to explicitly include the correct headers. That also serves as
preparation to remove implicit includes within the DT headers
(of_device.h in particular).

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
---
  drivers/gpu/drm/armada/armada_crtc.c    | 24 +++++++-----------------
  drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 10 ++++------
  drivers/gpu/drm/exynos/exynos_drm_gsc.c |  9 +++++----
  drivers/gpu/drm/imx/ipuv3/imx-ldb.c     |  9 ++++-----
  drivers/gpu/drm/mxsfb/mxsfb_drv.c       | 10 +++-------
  drivers/gpu/drm/omapdrm/dss/dispc.c     |  4 ++--
  drivers/gpu/drm/omapdrm/dss/dss.c       |  5 +++--
  7 files changed, 28 insertions(+), 43 deletions(-)

For omapdrm:

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>

 Tomi




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux