drm/vc4: use platform_register_drivers
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 17 Mar 2017 17:00:59 +0000 (18:00 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 17 Mar 2017 23:44:09 +0000 (16:44 -0700)
commitcc2e6da1b5a8986dc2831d5b63f4d0a15704e4f1
treeae6e8a1664bd2f3e4611434509a7b9c573cbd686
parentd5b72a2123dfaf9416b1a1177b4be041f8a8b6d4
drm/vc4: use platform_register_drivers

Use platform_register_drivers instead of open coding the iteration over
component platform drivers in the vc4_drv module.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170317170059.17821-1-p.zabel@pengutronix.de
drivers/gpu/drm/vc4/vc4_drv.c