drm/imx/dcss: Replace module initialization with DRM helpers
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 22 Dec 2021 08:28:28 +0000 (09:28 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jan 2022 17:40:23 +0000 (18:40 +0100)
commit7a90a846ad3fc58edde357d2723c457510ba58c2
treee64eff9da78c93348e432ce93ff7fb8fcc66e168
parent09f137c320633d08b263c54c0782e91d55a6c09f
drm/imx/dcss: 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>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211222082831.196562-8-javierm@redhat.com
drivers/gpu/drm/imx/dcss/dcss-drv.c