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)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 11 Dec 2014 01:21:46 +0000 (10:21 +0900)
commitcad7e50457fd5d9179faad36f3aa634e74fc6426
treeb9b17aaa90303c7126b0a30ff42ad8c6a3d80aa4
parentee8c130bf28be35604a93417cfa747c2621d9f3e
drm: Break out ioctl permission check to a separate function v2

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>
(cherry picked from commit c2667355619572c9324916b62b4f6608a56de031)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/gpu/drm/drm_drv.c