From: Wolfram Sang <wsa@the-dreams.de>
To: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>,
linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/msm: simplify getting .driver_data
Date: Fri, 22 Mar 2019 09:32:01 +0100 [thread overview]
Message-ID: <20190322083201.GE1005@kunai> (raw)
In-Reply-To: <7d66ed6f-1dc4-05ec-567e-939df7d8c94b@ideasonboard.com>
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
> > - struct platform_device *pdev = to_platform_device(dev);
> > - struct msm_gpu *gpu = platform_get_drvdata(pdev);
> > + struct msm_gpu *gpu = dev_get_drvdata(dev);
>
> Nice simplification :-)
>
> Do you catch these with Coccinelle?
Yes, the previous series had the script in the cover letter, but for
this small series, I thought it was too much. I haven't changed it since
then.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-03-22 8:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-19 16:36 [PATCH 1/2] drm/msm: simplify getting .driver_data Wolfram Sang
2019-03-19 16:36 ` [PATCH 2/2] drm/omap: " Wolfram Sang
2019-03-22 8:19 ` Kieran Bingham
2019-03-22 8:18 ` [PATCH 1/2] drm/msm: " Kieran Bingham
2019-03-22 8:32 ` Wolfram Sang [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=20190322083201.GE1005@kunai \
--to=wsa@the-dreams.de \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
--cc=wsa+renesas@sang-engineering.com \
/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;
as well as URLs for NNTP newsgroup(s).