]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit500902c5c5e2f6fd226fa380c5437b9a54c80ec5
treef272c0325e12962b7cc039cd891359505c34af01
parent372b47fa11b6d37f5f6de490c4c7d60d82aef3c7
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