Procházet zdrojové kódy

ACPI thermal: remove unnecessary newline from exception message

ACPI_EXCEPTION() already appends a newline, so there is no
need for the thermal trip point message to include one too.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Colin Ian King před 13 roky
rodič
revize
7e3cf246b5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      drivers/acpi/thermal.c

+ 1 - 1
drivers/acpi/thermal.c

@@ -288,7 +288,7 @@ do {	\
 	if (flags != ACPI_TRIPS_INIT)	\
 	if (flags != ACPI_TRIPS_INIT)	\
 		ACPI_EXCEPTION((AE_INFO, AE_ERROR,	\
 		ACPI_EXCEPTION((AE_INFO, AE_ERROR,	\
 		"ACPI thermal trip point %s changed\n"	\
 		"ACPI thermal trip point %s changed\n"	\
-		"Please send acpidump to linux-acpi@vger.kernel.org\n", str)); \
+		"Please send acpidump to linux-acpi@vger.kernel.org", str)); \
 } while (0)
 } while (0)
 
 
 static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag)
 static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag)