drm/vmwgfx: Stop checking minor type directly
authorFrank Binns <frank.binns@imgtec.com>
Fri, 24 Jun 2016 17:15:15 +0000 (18:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 11:07:20 +0000 (13:07 +0200)
commit0d02c4a1b1b1774a47b6e154db5194fa827accd6
tree6250801569cec8315bb975b2be3ecce45ea4eb2f
parent83264396234d4323bb36ee1680664566e6c60376
drm/vmwgfx: Stop checking minor type directly

Use the appropriate drm minor type helper instead.

Cc: Sinclair Yeh <syeh@vmware.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466788520-21325-2-git-send-email-frank.binns@imgtec.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c