aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-05-20 20:03:08 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-21 18:57:26 -0400
commit15ffac73bb3e029e9f86deb45837b9a4999a9a46 (patch)
tree0ff07d6c4575eec8635ec840c7861e50b851ab04 /net/switchdev/switchdev.c
parente56788cf13eef6e998bc03200df9e00f64a3202d (diff)
downloadlinux-15ffac73bb3e029e9f86deb45837b9a4999a9a46.tar.gz
linux-15ffac73bb3e029e9f86deb45837b9a4999a9a46.tar.bz2
linux-15ffac73bb3e029e9f86deb45837b9a4999a9a46.zip
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions