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

Remove custom vbox_init() and vbox_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-10-tzimmermann@suse.de
drivers/gpu/drm/vboxvideo/vbox_drv.c