From: Joachim Eastwood Date: Wed, 20 May 2015 18:03:08 +0000 (+0200) Subject: stmmac: change the stmmac_dvr_probe return type to int X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~240^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15ffac73bb3e029e9f86deb45837b9a4999a9a46;p=pandora-kernel.git stmmac: change the stmmac_dvr_probe return type to int Since stmmac_dvr_probe takes care of setting driver data and assign resources to the priv structure there is no need to access the priv structure from the other probe functions. This mean that this function can be changed into just return an int and thus simplifying the callers. Signed-off-by: Joachim Eastwood Signed-off-by: David S. Miller --- Reading git-diff-tree failed