]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tilcdc: Use drm_module_platform_driver() helper
authorKory Maincent (TI.com) <kory.maincent@bootlin.com>
Fri, 23 Jan 2026 16:12:32 +0000 (17:12 +0100)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Wed, 11 Feb 2026 08:16:15 +0000 (09:16 +0100)
commit87e66f60f63a746094134bc3e0ffdb6bd87afcb1
tree0c8f28c52e2cd00915cd1456ac090e52cf672cfd
parent8fcc0eb34d79d2733ce617073a4c52b42ffeb00f
drm/tilcdc: Use drm_module_platform_driver() helper

Use the drm_module_platform_driver() helper macro to simplify driver
registration. This macro handles both the platform driver registration
and the drm_firmware_drivers_only() check, making the custom init/exit
functions unnecessary.

Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Kory Maincent (TI.com) <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20260123-feature_tilcdc-v5-14-5a44d2aa3f6f@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c