]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab1aaee14805ee72239830fe5ab0a5f8279cbedd
tree5a4d14461850821b6756e1c5dcd4216c90f5a072
parent1cab783301332b11113f2cf27bae9d7e6fbbd311
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