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)
commitc2667355619572c9324916b62b4f6608a56de031
tree58aafe94b10685c4d4682bf8e02948b725cb6a0e
parent09f308f7b675b692d1c0a451ff02f0fff7846c96
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>
drivers/gpu/drm/drm_drv.c