Skip to content

Commit

Permalink
[MIPS] Revert "mips: add pm_power_off"
Browse files Browse the repository at this point in the history
    
pm_power_off duplicates the functionality of _machine_restart.
    
This reverts b142159 commit.
  • Loading branch information
Ralf Baechle committed Feb 7, 2006
1 parent a84c96e commit a3305a8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/mips/kernel/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,9 +33,6 @@ void machine_halt(void)

void machine_power_off(void)
{
if (pm_power_off)
pm_power_off();

_machine_power_off();
}

0 comments on commit a3305a8

Please sign in to comment.