]> 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)
commit90db69ff1e9a49e061c06ae38734980f31837ece
tree72fe5e2202fbbaab0f6e0636d3aaa77e31a3375e
parentb2568ee3cf9b745098fde553944c7d2e665e1f49
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