]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Corrected 'file_priv' to 'file' in 'i915_driver_preclose()'
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 26 Jun 2014 17:23:52 +0000 (18:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 18:00:44 +0000 (20:00 +0200)
commitfbecefd69cb854a58df4c38c210787ee764c3954
tree59dfc868b7b486c90b5c256e7e8af3385ca04a18
parent3f0d8d875fd0c4bdd932bc6034256068d7d78a91
drm/i915: Corrected 'file_priv' to 'file' in 'i915_driver_preclose()'

The 'i915_driver_preclose()' function has a parameter called 'file_priv'.
However, this is misleading as the structure it points to is a 'drm_file' not a
'drm_i915_file_private'. It should be named just 'file' to avoid confusion.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h