drm: Break out ioctl permission check to a separate function v2
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 13 Mar 2014 09:30:25 +0000 (10:30 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:01 +0000 (14:19 +0100)
Helps reviewing and understanding these checks.
v2: Remove misplaced newlines.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
drivers/gpu/drm/drm_drv.c

Simple merge