commit | 9b0ee474cfdbce235f63e179d018e28673163075 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:31:54 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Dec 10 23:45:44 2015 +0100 |
tree | 5e9dda68bf16c87340017af294325d75f2ef1042 | |
parent | 588047686fe9e4a4da85ca6dd92a220a8fb45ce5 [diff] |
pinctrl: adi2: 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>