From 5571415c9685acc2c768b33d0be40b3f46869f14 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 12 Jan 2014 19:05:55 -0800 Subject: [PATCH] bgmac: propagate error codes in bgmac_probe() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed