drm: rename DRM_MINOR_LEGACY to DRM_MINOR_PRIMARY
commita3ccc461668951c14b7c656233b993f0dea326ce
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 3 Aug 2016 18:04:25 +0000 (3 20:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:20 +0000 (8 10:05 +0200)
tree608bffaa20cf57b183fed177781da6a2be952348
parenta787900564ffc6eebbcb7086b45e04a0bc3370f0
drm: rename DRM_MINOR_LEGACY to DRM_MINOR_PRIMARY

The minor referred to by "DRM_MINOR_LEGACY" is called 'dev->primary' and
gets 'cardX' as name assigned. Lets reduce this magnificent number of
names for the same concept by one and rename DRM_MINOR_LEGACY to
DRM_MINOR_PRIMARY (to match the actual struct-member name).

Furthermore, this is in no way a legacy node, so lets not call it that.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160803180432.1341-2-dh.herrmann@gmail.com
drivers/gpu/drm/drm_drv.c
include/drm/drmP.h