MIPS: replace open-coded init_dsp
authorPaul Burton <paul.burton@imgtec.com>
Tue, 19 Nov 2013 17:30:38 +0000 (17:30 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:45 +0000 (22:39 +0100)
commita3056b1ca5db9103e079f3d8d9e386b3590b9250
tree13fb10ae4d96e8045c5f572537cc89d106c354a8
parent8c0f8ab0e942da00a910d342c65a44656ef843cf
MIPS: replace open-coded init_dsp

There is already an init_dsp function which checks cpu_has_dsp & calls
__init_dsp if it does. Make use of it instead of duplicating the same
code.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6148/
arch/mips/kernel/process.c