drm/malidp: Replace module initialization with DRM helpers
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 22 Dec 2021 08:28:31 +0000 (09:28 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jan 2022 17:40:29 +0000 (18:40 +0100)
commit37e0321ab2569b44f8a94339bf47653493ac864e
tree68b911c95b907cf33fc856cbb180748a17a7f02a
parent6aef229365f460bd386023ca5f08abc29cbe6555
drm/malidp: Replace module initialization with DRM helpers

Replace module_platform_driver() with drm_module_platform_driver(). The
DRM macro respects drm_firmware_drivers_only() and fails if the flag has
been set.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211222082831.196562-11-javierm@redhat.com
drivers/gpu/drm/arm/malidp_drv.c