[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190322083201.GE1005@kunai>
Date: Fri, 22 Mar 2019 09:32:01 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
Cc: Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-kernel@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
Rob Clark <robdclark@...il.com>, Sean Paul <sean@...rly.run>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, linux-arm-msm@...r.kernel.org,
dri-devel@...ts.freedesktop.org, freedreno@...ts.freedesktop.org
Subject: Re: [PATCH 1/2] drm/msm: simplify getting .driver_data
> > - 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.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists