Skip to content
Commit 20d7090f authored by Thierry Reding's avatar Thierry Reding Committed by Linus Walleij
Browse files

gpio: mpc5200: 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: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 12b61c9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment