net: ethernet: arc: add the missed clk_disable_unprepare
authorChuhong Yuan <hslester96@gmail.com>
Fri, 1 Nov 2019 12:17:25 +0000 (20:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Nov 2019 17:25:39 +0000 (10:25 -0700)
commit4202e219edd6cc164c042e16fa327525410705ae
tree86a017e1ef847781e94cc48dd209b97908d1e595
parent623d0c2db02043e43b698fdd8de1bd398b8e7b37
net: ethernet: arc: add the missed clk_disable_unprepare

The remove misses to disable and unprepare priv->macclk like what is done
when probe fails.
Add the missed call in remove.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_rockchip.c