net: bcm63xx: Use platform_register/unregister_drivers()
commit0d1c744cbdcbf7b57044319f4ecad74ba230b138
authorThierry Reding <treding@nvidia.com>
Wed, 2 Dec 2015 16:30:27 +0000 (2 17:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 20:14:58 +0000 (3 15:14 -0500)
tree6ccca528dff1a698f06315c022a9b19dbe091b0e
parent36b9ddd53587537ee9584f43a2713474000346cd
net: bcm63xx: 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>
drivers/net/ethernet/broadcom/bcm63xx_enet.c