OSDN Git Service

drm/cirrus: Replace module-init boiler-plate code with DRM helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 22 Dec 2021 08:28:25 +0000 (09:28 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jan 2022 17:40:06 +0000 (18:40 +0100)
commita32762d1db4c13db53ab9005a24fe5465ab511f1
treec6440c4b549ee51138c14881c44d8dbed2e95611
parent54e67e5a2326b99c1461e29eb022e9d07a419abd
drm/cirrus: Replace module-init boiler-plate code with DRM helpers

Remove custom cirrus_init() and cirrus_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-5-javierm@redhat.com
drivers/gpu/drm/tiny/cirrus.c