drm/omap: Use platform_register/unregister_drivers()
authorThierry Reding <treding@nvidia.com>
Wed, 2 Dec 2015 16:23:31 +0000 (17:23 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Dec 2015 09:25:41 +0000 (11:25 +0200)
commite1c49bdcdbe31008919ac81e08b46b14e30afd12
treee661b964c8d90683d70a6efbae4505b38f87322c
parentd4182e35aa4ae358c024ca3d370fb3cc3da30eb7
drm/omap: Use platform_register/unregister_drivers()

These new helpers simplify implementing multi-driver modules and
properly handle failure to register one driver by unregistering all
previously registered drivers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c