提交 8f0de87f 编写于 作者: W Wu Zhangjin 提交者: Ralf Baechle

MIPS: Loongson: pm: Remove redundant source code

The implmentation of loongson2e_power_off and loongson2e_halt is almostly
the same, just preserve one of them.
Signed-off-by: NWu Zhangjin <wuzj@lemote.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 f6a2740d
......@@ -29,16 +29,11 @@ static void loongson2e_halt(void)
while (1) ;
}
static void loongson2e_power_off(void)
{
loongson2e_halt();
}
static int __init mips_reboot_setup(void)
{
_machine_restart = loongson2e_restart;
_machine_halt = loongson2e_halt;
pm_power_off = loongson2e_power_off;
pm_power_off = loongson2e_halt;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册