drm: Deduplicate driver initialization message
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Wed, 28 Dec 2016 14:32:11 +0000 (12:32 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Dec 2016 11:37:39 +0000 (12:37 +0100)
commit75f6dfe3e652e1adef8cc1b073c89f3e22103a8f
treebd0d6a314f3ba4181c8d5361935dd70cbafa6805
parente82dfa00da407eee80acbd6297003eb5ce913fcc
drm: Deduplicate driver initialization message

Several DRM drivers print the same initialization message right after
drm_dev_register, so move that to common code.  The exception is i915,
which uses its own register handle, so let it keep its own message.

Notice that this was tested only with Exynos, but looks simple enough
for the other drivers.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161228143216.26821-2-krisman@collabora.co.uk
drivers/gpu/drm/armada/armada_drv.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_platform.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/virtio/virtgpu_drm_bus.c