net: fec: add missed clk_disable_unprepare in remove
authorChuhong Yuan <hslester96@gmail.com>
Mon, 4 Nov 2019 15:50:00 +0000 (23:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Nov 2019 19:35:21 +0000 (11:35 -0800)
commitc43eab3eddb4c6742ac20138659a9b701822b274
tree55c601564f95ce32e151d95ba09fe3a8f4a6c467
parent1204c70d9dcba31164f78ad5d8c88c42335d51f8
net: fec: add missed clk_disable_unprepare in remove

This driver forgets to disable and unprepare clks when remove.
Add calls to clk_disable_unprepare to fix it.

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