net: dsa: bcm_sf2: factor interrupt disabling in a function
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 21 Jan 2015 00:42:00 +0000 (16:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2015 00:02:13 +0000 (16:02 -0800)
commit691c9a8fdcbbb27682f151a23e36df35fc250c03
treeffedce71dac53a1526ed0abca5a67a90a7317269
parent799d44442c4821dec65fc59baa4ddc6783a25c54
net: dsa: bcm_sf2: factor interrupt disabling in a function

Factor the interrupt disabling in a function: bcm_sf2_intr_disable()
since we are doing the same thing in the setup and suspend paths.

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