net: bcmgenet: modularize bcmgenet_{open,close}
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 21 Jul 2014 22:29:21 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 23:04:30 +0000 (16:04 -0700)
commit909ff5efbab85f2724c5f91ec200ebc9df50c440
treedb1b9420c3394803c8f925a56d2be64a5708df72
parente29585b8d8707686d3f8f66fdfd20d8c66fb5f6d
net: bcmgenet: modularize bcmgenet_{open,close}

Introduce a bunch of helper functions: bcmgenet_netif_start,
bcmgenet_netif_stop and bcmgenet_intr_disable to help reuse code that is
going to be necessary for suspend/resume.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c