2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00

[MIPS] Revert "mips: add pm_power_off"

pm_power_off duplicates the functionality of _machine_restart.
    
This reverts b142159fa5 commit.
This commit is contained in:
Ralf Baechle 2006-02-03 16:47:44 +00:00
parent a84c96e202
commit a3305a8835

View File

@ -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();
}