Linux-Aspeed Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH] drm: Use device_get_match_data()
Date: Thu, 26 Oct 2023 08:44:52 +0300	[thread overview]
Message-ID: <d1da5acd-384f-4ddd-a721-ce677cc38a3d@ideasonboard.com> (raw)
In-Reply-To: <20231020125214.2930329-1-robh@kernel.org>

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@kernel.org>
> ---
>   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@ideasonboard.com>

  Tomi


      parent reply	other threads:[~2023-10-26  5:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20 12:52 [PATCH] drm: Use device_get_match_data() Rob Herring
2023-10-24  0:13 ` Andrew Jeffery
2023-10-26  5:44 ` Tomi Valkeinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1da5acd-384f-4ddd-a721-ce677cc38a3d@ideasonboard.com \
    --to=tomi.valkeinen@ideasonboard.com \
    --cc=linux-aspeed@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox