net: stmmac: dwmac-sun8i: Use reset_control_reset
authorSamuel Holland <samuel@sholland.org>
Wed, 17 Feb 2021 04:20:04 +0000 (22:20 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2021 21:42:56 +0000 (13:42 -0800)
commit1c22f54696be3b185fec5c8dd03330dc8508b2d0
tree3deab716a82b35d454e4e0d495d8f39115c18cbf
parentafac1d34bfb482242f5b427aebafcbd8f9ea0490
net: stmmac: dwmac-sun8i: Use reset_control_reset

Use the appropriate function instead of reimplementing it,
and update the error message to match the code.

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