Commit 039f6cf5 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Zhang Rui

thermal: core: fix some format issues on critical shutdown string

The critical shutdown notice string used to have some spaces missing,
which makes it not so pretty.

Add the spaces to satisfy usual English space rules.
Reported-by: default avatarMingcong Bai <jeffbai@aosc.io>
Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 16f73eb0
...@@ -390,7 +390,7 @@ static void handle_critical_trips(struct thermal_zone_device *tz, ...@@ -390,7 +390,7 @@ static void handle_critical_trips(struct thermal_zone_device *tz,
if (trip_type == THERMAL_TRIP_CRITICAL) { if (trip_type == THERMAL_TRIP_CRITICAL) {
dev_emerg(&tz->device, dev_emerg(&tz->device,
"critical temperature reached(%d C),shutting down\n", "critical temperature reached (%d C), shutting down\n",
tz->temperature / 1000); tz->temperature / 1000);
mutex_lock(&poweroff_lock); mutex_lock(&poweroff_lock);
if (!power_off_triggered) { if (!power_off_triggered) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment