]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-sun8i: Minor probe function cleanup
authorSamuel Holland <samuel@sholland.org>
Wed, 17 Feb 2021 04:20:05 +0000 (22:20 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2021 21:42:56 +0000 (13:42 -0800)
commit8faa22ccd5b4d61f2dd4dd4599f6603722efbcec
treeacc2183e040eda4ea0ab03c6a05514e97172cf80
parent950ad3b49711928f7f19565c6c93ca238af12e33
net: stmmac: dwmac-sun8i: Minor probe function cleanup

Adjust the spacing and use an explicit "return 0" in the success path
to make the function easier to parse.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c