stmmac: change the stmmac_dvr_probe return type to int
authorJoachim Eastwood <manabian@gmail.com>
Wed, 20 May 2015 18:03:08 +0000 (20:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:57:26 +0000 (18:57 -0400)
commit15ffac73bb3e029e9f86deb45837b9a4999a9a46
tree0ff07d6c4575eec8635ec840c7861e50b851ab04
parente56788cf13eef6e998bc03200df9e00f64a3202d
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 <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c