gpu: host1x: Use platform_register/unregister_drivers()
authorThierry Reding <treding@nvidia.com>
Wed, 2 Dec 2015 16:24:20 +0000 (17:24 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 14 Dec 2015 09:50:32 +0000 (10:50 +0100)
commit28fae81f93d5482f25bb8e9881104ad1157c2cfd
treec54e3bc748bd6240477d80485444b98e58a121bc
parent663a233eef643b38f36c05535cb5c9a4972edcc1
gpu: host1x: 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>
drivers/gpu/host1x/dev.c