VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Helge Deller <deller@gmx.de> 2018-03-24 21:00:14 +0100 committer: Helge Deller <deller@gmx.de> 2018-03-27 18:52:22 +0200 commit: c14b302c44f61dce219e1f4026d3c9248e81fbd2 parent: 24002d59376e2d19a2a523fe88d5b32e691a43af
Commit Summary:
parisc: Directly call machine_power_off() in power button driver
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c
index e2a3112f1c98..ebaf6867b457 100644
--- a/drivers/parisc/power.c
+++ b/drivers/parisc/power.c
@@ -95,8 +95,7 @@ static void process_shutdown(void)
 		/* send kill signal */
 		if (kill_cad_pid(SIGINT, 1)) {
 			/* just in case killing init process failed */
-			if (pm_power_off)
-				pm_power_off();
+			machine_power_off();
 		}
 	}
 }