summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/ab8500-sysctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c
index 405ca686d9f3..3aaff6043e18 100644
--- a/drivers/mfd/ab8500-sysctrl.c
+++ b/drivers/mfd/ab8500-sysctrl.c
@@ -59,7 +59,7 @@ void ab8500_power_off(void)
"Charger \"%s\" is connected with known battery."
" Rebooting.\n",
pss[i]);
- machine_restart(NULL);
+ machine_restart("charging");
}
}