]> 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)
commit751bef473be7ac1baa01299e159b140af2a8b4a1
tree3deab716a82b35d454e4e0d495d8f39115c18cbf
parentf31f80cd8d567d9c58d580f81994f7549f37e424
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