commit | 20d7090ffd4a30c66f3e2eb6741bb1e5baa56e8b | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:19:55 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Dec 10 19:28:05 2015 +0100 |
tree | a1e8dd34bf809bb8a329908a6edd7fd61f108c1d | |
parent | 12b61c9d7e0750f2569392999fcfa85778185b06 [diff] |
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: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>