OSDN Git Service

drm/arm/hdlcd: Replace module initialization with DRM helpers
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 22 Dec 2021 08:28:30 +0000 (09:28 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jan 2022 17:40:27 +0000 (18:40 +0100)
commit6aef229365f460bd386023ca5f08abc29cbe6555
treef272c0325e12962b7cc039cd891359505c34af01
parente0f8cd2343f889b210266e28f07484efd527a977
drm/arm/hdlcd: 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-10-javierm@redhat.com
drivers/gpu/drm/arm/hdlcd_drv.c