net: dsa: mv88e6xxx: Return error from irq_find_mapping()
authorAndrew Lunn <andrew@lunn.ch>
Thu, 18 Jan 2018 16:42:49 +0000 (17:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jan 2018 20:57:02 +0000 (15:57 -0500)
commit9b662a3ec21221f2500e8009c849abf9c0136b99
treef7402de784d0787cfd737983ce429facc007ca7b
parent7677fd01ccae5a05e403234feff05b3f4b13f4cf
net: dsa: mv88e6xxx: Return error from irq_find_mapping()

Fix a cut/paste error. When irq_find_mapping() returns an error for
the ATU or VTU interrupt, return that error, not the value of
chip->device_irq.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global1_atu.c
drivers/net/dsa/mv88e6xxx/global1_vtu.c