[Intel-gfx] [PATCH] drm/i915: Use dev_priv as first argument of for_each_pipe()
Chris Wilson
chris at chris-wilson.co.uk
Mon Aug 18 14:58:06 CEST 2014
On Mon, Aug 18, 2014 at 01:49:10PM +0100, Damien Lespiau wrote:
> Chris has decided that enough is enough. It's time to fixup dev Vs
> dev_priv. This is a modest contribution to the crusade.
>
> v2: Still use INTEL_INFO(), for the (mythical!) case we want to hardcode
> the info struct with defines (Chris)
> Rename the macro argument from 'dev' to 'dev_priv' (Jani)
>
> v3: Use names unlikely to be used as macro arguments (Chris)
I can be annoying! These macros typically take the iter as the first
argument...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list