[Intel-gfx] [PATCH 2/2] drm/i915: s/dev->dev_private/to_i915(dev)/

Jesse Barnes jbarnes at virtuousgeek.org
Wed May 14 00:24:23 CEST 2014


On Tue, 13 May 2014 14:56:28 -0700
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> On Tue, 13 May 2014 22:22:00 +0200
> Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> 
> > coccinelle is seriously a tool I should have played around with much
> > earlier. Extremely powerful, and extremely dangerous in causing
> > massive conflict hell for everyone else since doing large-scale stuff
> > is so much easier than with sed.
> > 
> > Way, way too easy.
> 
> Why?  For an eventual move to embedding drm_device in i915?
> 
> May as well move over all the rest of the driver internals that use
> drm_device * while you're at it. :)  Would be nice to get rid of the
> typedef too...

Oh I see the typedef is already dead... hoory Jani!

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list