[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 12:07:59 CEST 2014
On Mon, Aug 18, 2014 at 11:00:42AM +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)
If you want to be pedantic, don't use a macro name that is often a
variable name.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list