commit | 8c7d3972fdbe9fb7644edea83e0ca5e771aa5563 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:30:28 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 03 15:14:58 2015 -0500 |
tree | 1d1f38332a26641db0d0a23a54c7acc5425eefaf | |
parent | 0d1c744cbdcbf7b57044319f4ecad74ba230b138 [diff] |
net: mpc52xx: 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: David S. Miller <davem@davemloft.net>