commit | 5571415c9685acc2c768b33d0be40b3f46869f14 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Sun Jan 12 19:05:55 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 14 18:19:20 2014 -0800 |
tree | 535488b719744a19d08b1b1ea3d77e9cd47ce437 | |
parent | ec35b61ea59aa6b1ecc8d8452b225e4677e32627 [diff] |
bgmac: propagate error codes in bgmac_probe() bgmac_mii_register() and register_netdev() both return appropriate error codes for the failures they would encounter, propagate this error code instead of overriding the value with -ENOTSUPP which is not the correct error code to return. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>