]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit950ad3b49711928f7f19565c6c93ca238af12e33
tree3deab716a82b35d454e4e0d495d8f39115c18cbf
parent18229126cb259a9699ee016d0f455a3238b0d34d
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