drm/mgag200: Separate device initialization into allocation
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 5 Jun 2020 13:58:00 +0000 (15:58 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 11 Jun 2020 08:06:03 +0000 (10:06 +0200)
commitc714dd941dd158500299b2138fcd06709afd2605
tree8565758d7d9915f2897740dac58baef679e945b4
parentba5b90e883a4db12f2b6f277fa2c06ac82c2ff03
drm/mgag200: Separate device initialization into allocation

Embedding the DRM device instance in struct mga_device will require
changes to device allocation. Moving the device initialization into
its own functions gets it out of the way.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605135803.19811-12-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.c