net: 3com: typhoon: typhoon_init_one: make return values more specific
authorThomas Preisner <thomas.preisner+linux@fau.de>
Fri, 30 Dec 2016 02:37:54 +0000 (03:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2016 20:26:22 +0000 (15:26 -0500)
commit6b6bbb5922a4b1d4b58125a572da91010295fba3
treef187b57b66fe5b67ea3a4bb9183e6a437c01be45
parent107fded7bf616ad6f46823d98b8ed6405d7adf2d
net: 3com: typhoon: typhoon_init_one: make return values more specific

In some cases the return value of a failing function is not being used
and the function typhoon_init_one() returns another negative error code
instead.

Signed-off-by: Thomas Preisner <thomas.preisner+linux@fau.de>
Signed-off-by: Milan Stephan <milan.stephan+linux@fau.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/typhoon.c