thermal: core: fix some format issues on critical shutdown string
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 23 Jul 2017 14:21:49 +0000 (22:21 +0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 8 Aug 2017 09:18:26 +0000 (17:18 +0800)
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: Mingcong Bai <jeffbai@aosc.io>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c

index 5a51c740e37238b31b9883d689aa67ffaea15704..671e4d15599dae8c62ac99ac4bbbdce7387d602c 100644 (file)
@@ -390,7 +390,7 @@ static void handle_critical_trips(struct thermal_zone_device *tz,
 
        if (trip_type == THERMAL_TRIP_CRITICAL) {
                dev_emerg(&tz->device,
-                         "critical temperature reached(%d C),shutting down\n",
+                         "critical temperature reached (%d C), shutting down\n",
                          tz->temperature / 1000);
                mutex_lock(&poweroff_lock);
                if (!power_off_triggered) {