drm/bochs: Replace module-init boiler-plate code with DRM helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 22 Dec 2021 08:28:24 +0000 (09:28 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jan 2022 17:40:00 +0000 (18:40 +0100)
commit54e67e5a2326b99c1461e29eb022e9d07a419abd
tree4c706677401d55e286c22865084951090cad1208
parent8638b4d8ddc944ef3c1899cb774cb07de0b416f6
drm/bochs: Replace module-init boiler-plate code with DRM helpers

Remove custom bochs_init() and bochs_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>
Link: https://patchwork.freedesktop.org/patch/msgid/20211222082831.196562-4-javierm@redhat.com
drivers/gpu/drm/tiny/bochs.c