]> git.baikalelectronics.ru Git - kernel.git/commit
smsc911x.c: encapsulate enable irq calls
authorMatthias Brugger <mbrugger@iseebcn.com>
Fri, 22 Jun 2012 01:10:15 +0000 (01:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2012 00:06:51 +0000 (17:06 -0700)
commited3fc2608343331a3d020b55c652f6c3f267cee8
tree84336215754a596d28430fb100052c886f508c9c
parent7d682866eb8025a21dc6cc28194219f25474ac73
smsc911x.c: encapsulate enable irq calls

We encapsulate enbale irq functionality in a function call.
As on probe the interrupts will be disabled twice, we delete
one.

Signed-off-by: Matthias Brugger <mbrugger@iseebcn.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c