commit | d91d76d84c3adf7ca04ef1932431d49f51edee5e | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:28:11 2015 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Jan 11 06:23:38 2016 +0000 |
tree | ecb82975c13a8d1b832fc1c3724eb2e321e03521 | |
parent | 742dcd115cb523f4b518bfcda870e10a027a8024 [diff] |
mfd: sta2x11: 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: Lee Jones <lee.jones@linaro.org>