diff options
author | Ding Xiang <dingxiang@cmss.chinamobile.com> | 2018-09-06 12:19:19 +0800 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-09-06 14:12:35 -0700 |
commit | c6e1241a82e6e74d1ae5cc34581dab2ffd6022d0 (patch) | |
tree | 5b62c8a72d6b652f759ed8e9fe751fb4fe034019 /arch/mips/kernel/smp-cmp.c | |
parent | 7c45885ea92972e7909847c39bd1698b76dffd73 (diff) | |
download | linux-c6e1241a82e6e74d1ae5cc34581dab2ffd6022d0.tar.bz2 |
mips: txx9: fix iounmap related issue
if device_register return error, iounmap should be called, also iounmap
need to call before put_device.
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Reviewed-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20476/
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/kernel/smp-cmp.c')
0 files changed, 0 insertions, 0 deletions