From: Florian Fainelli Date: Mon, 13 Jan 2014 03:05:55 +0000 (-0800) Subject: bgmac: propagate error codes in bgmac_probe() X-Git-Tag: v3.14-rc1~94^2~181 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5571415c9685acc2c768b33d0be40b3f46869f14;p=pandora-kernel.git 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 Acked-by: Rafał Miłecki Signed-off-by: David S. Miller --- Reading git-diff-tree failed