mac8390: propagate error code from request_irq
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 1 Jun 2010 02:18:32 +0000 (02:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 12:16:22 +0000 (05:16 -0700)
commit38454db3f0b694df929073a5a867edf30551d950
tree0725a76b8f03337b63caf3da8aaee526cba990ef
parentc1f8fc57c046903b5e7c891f2922592d5f775af3
mac8390: propagate error code from request_irq

Use the request_irq() error code as the return value for mac8390_open().
EAGAIN doesn't make sense for Nubus slot IRQs. Only this driver can claim
this IRQ (until the NIC is removed, which means everything is powered
down).

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mac8390.c