MIPS: ralink: Don't set pm_power_off
authorJohn Crispin <blogic@openwrt.org>
Wed, 4 Nov 2015 10:50:12 +0000 (11:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 11 Nov 2015 07:38:11 +0000 (08:38 +0100)
Setting pm_power_off is apprently wrong and makes drivers such as
gpio-poweroff not work.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11445/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/reset.c

index 55c7ec59df3cca8a73259ee84731189a91db49ce..ee26d45e48e787a6bd0768aeecd9050b43b01d7b 100644 (file)
@@ -98,7 +98,6 @@ static int __init mips_reboot_setup(void)
 {
        _machine_restart = ralink_restart;
        _machine_halt = ralink_halt;
-       pm_power_off = ralink_halt;
 
        return 0;
 }