]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ceafcb70d0c63f4a41ec8189cee5aef6d0487d3
tree8565758d7d9915f2897740dac58baef679e945b4
parentbbef2980ef519f68066d988100461999a8dbfbe0
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