Skip to content

Commit f13558c

Browse files
Yoichi Yuasaralfbaechle
authored andcommitted
[MIPS] Cobalt: Remove cobalt_machine_power_off()
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>
1 parent 3282bd3 commit f13558c

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

‎arch/mips/cobalt/reset.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,3 @@ void cobalt_machine_restart(char *command)
6161
/* we should never get here */
6262
cobalt_machine_halt();
6363
}
64-
65-
/*
66-
* This triggers the luser mode device driver for the power switch ;-)
67-
*/
68-
void cobalt_machine_power_off(void)
69-
{
70-
printk("You can switch the machine off now.\n");
71-
cobalt_machine_halt();
72-
}

‎arch/mips/cobalt/setup.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
extern void cobalt_machine_restart(char *command);
2727
extern void cobalt_machine_halt(void);
28-
extern void cobalt_machine_power_off(void);
2928

3029
const char *get_system_type(void)
3130
{
@@ -96,7 +95,7 @@ void __init plat_mem_setup(void)
9695

9796
_machine_restart = cobalt_machine_restart;
9897
_machine_halt = cobalt_machine_halt;
99-
pm_power_off = cobalt_machine_power_off;
98+
pm_power_off = cobalt_machine_halt;
10099

101100
set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
102101

0 commit comments

Comments
 (0)