提交 a3305a88 编写于 作者: R Ralf Baechle

[MIPS] Revert "mips: add pm_power_off"

    
pm_power_off duplicates the functionality of _machine_restart.
    
This reverts b142159f commit.
上级 a84c96e2
......@@ -12,9 +12,6 @@
#include <linux/reboot.h>
#include <asm/reboot.h>
void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);
/*
* Urgs ... Too many MIPS machines to handle this in a generic way.
* So handle all using function pointers to machine specific
......@@ -36,9 +33,6 @@ void machine_halt(void)
void machine_power_off(void)
{
if (pm_power_off)
pm_power_off();
_machine_power_off();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册