Skip to content

Commit

Permalink
[MIPS] Cobalt: Remove cobalt_machine_power_off()
Browse files Browse the repository at this point in the history
It's same as cobalt_machine_halt().

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Oct 11, 2007
1 parent 3282bd3 commit f13558c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions arch/mips/cobalt/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,3 @@ void cobalt_machine_restart(char *command)
/* we should never get here */
cobalt_machine_halt();
}

/*
* This triggers the luser mode device driver for the power switch ;-)
*/
void cobalt_machine_power_off(void)
{
printk("You can switch the machine off now.\n");
cobalt_machine_halt();
}
3 changes: 1 addition & 2 deletions arch/mips/cobalt/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

extern void cobalt_machine_restart(char *command);
extern void cobalt_machine_halt(void);
extern void cobalt_machine_power_off(void);

const char *get_system_type(void)
{
Expand Down Expand Up @@ -96,7 +95,7 @@ void __init plat_mem_setup(void)

_machine_restart = cobalt_machine_restart;
_machine_halt = cobalt_machine_halt;
pm_power_off = cobalt_machine_power_off;
pm_power_off = cobalt_machine_halt;

set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));

Expand Down

0 comments on commit f13558c

Please sign in to comment.