]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52077e46413b6f02134c9ce6bf142443323232b1
tree55c601564f95ce32e151d95ba09fe3a8f4a6c467
parent8aec68b2e6750137ed74074d65e55981933b9607
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