MIPS: APRP: Unregister rtlx interrupt hook at module exit
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Fri, 28 Feb 2014 18:23:02 +0000 (10:23 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 19:55:07 +0000 (20:55 +0100)
commiteee5794881d50e8ac3a56c74d3131f2364f200b9
tree5a4d14461850821b6756e1c5dcd4216c90f5a072
parent9c1f6e008297e184a7f701f2f03c9269011fd049
MIPS: APRP: Unregister rtlx interrupt hook at module exit

If the aprp_hook is not assigned back to NULL, it will still be called
after module exits. This is not wanted.

Reviewed-by: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: john@phrozen.org
Patchwork: https://patchwork.linux-mips.org/patch/6590/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/rtlx-cmp.c
arch/mips/kernel/rtlx-mt.c