drm: omapdrm: Simplify platform registration
authorAndrew F. Davis <afd@ti.com>
Tue, 5 Dec 2017 20:29:32 +0000 (14:29 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 19 Dec 2017 09:21:32 +0000 (11:21 +0200)
commitd66c36a3ee79747e300ac68276ca1496b567df68
tree72fe5e2202fbbaab0f6e0636d3aaa77e31a3375e
parentbb5cdf8d1c76ea821af0ffa486337386a0ab66e7
drm: omapdrm: Simplify platform registration

Currently, calls into each file are used to register the various
platform drivers. Change this to a table of pointers to platform_driver
structs to allow using platform_register_drivers.

Signed-off-by: Andrew F. Davis <afd@ti.com>
drivers/gpu/drm/omapdrm/dss/core.c
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/dss.c
drivers/gpu/drm/omapdrm/dss/dss.h
drivers/gpu/drm/omapdrm/dss/hdmi4.c
drivers/gpu/drm/omapdrm/dss/hdmi5.c
drivers/gpu/drm/omapdrm/dss/venc.c