]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit954b807e42f766081125a8e371fe7ad49b5051a9
tree86a017e1ef847781e94cc48dd209b97908d1e595
parentbb3dc1f467c373f40157c0d18a5738659a1dcbaa
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