]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69d50be12fe27b23c1053124af8ab45f8774c71c
tree72fe5e2202fbbaab0f6e0636d3aaa77e31a3375e
parenta891acc91c6e97032865dc158ba4e99c7ba64a2c
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