fec: Remove irqs first
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 27 May 2013 03:48:32 +0000 (03:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 05:29:54 +0000 (22:29 -0700)
commitc55284e4ddf3779f52d730bedfa264d35d42e539
tree25873cec87f7694efcf82257ffeebcf7f37ff22d
parentf6a4d607b3fdfaf305f3e78837cb8969d62c249a
fec: Remove irqs first

During probe the clocks are enabled prior than the acquiring the interrupts.

In the remove function we need to do the opposite: first remove the interrupts
and then disable the clocks.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c