drm/mgag200: Replace module-init boiler-plate code with DRM helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 17 Dec 2021 14:46:11 +0000 (15:46 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 27 Jan 2022 18:14:17 +0000 (19:14 +0100)
commita7b23fd90c804e79d1edb478b42935848bcd7e36
tree914e79f1b9436f6707bd65cdfc25e56a9118af17
parenta0f25a6bb319aa05e04dcf51707c97c2881b4f47
drm/mgag200: Replace module-init boiler-plate code with DRM helpers

Remove custom mgag200_init() and mgag200_exit() functions and initialize
the module with DRM_module helpers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211217144615.32733-7-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.c