]> 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)
commit5032897e46fe0ccdb66c1291af354eb9a7418f30
treeacc2183e040eda4ea0ab03c6a05514e97172cf80
parent751bef473be7ac1baa01299e159b140af2a8b4a1
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