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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 18:21:17 +0000 (19:21 +0100)
commit1baab8352d80e7ac2b2d2785b7962c6af10c633c
tree1041784dee67d49895952230a4db525a16524eae
parent24523745ed41373c7d62b1556525623e5b0c5c6a
net: ethernet: arc: add the missed clk_disable_unprepare

[ Upstream commit 4202e219edd6cc164c042e16fa327525410705ae ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/arc/emac_rockchip.c