From 70947968d4e779ddc7dd8632f413f5091caa9ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Wed, 9 Apr 2025 10:45:23 +0200 Subject: [PATCH] soc: stm32: common: wkup_pins: fix log output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove newline in log output and simplify log message. Signed-off-by: Martin Jäger --- soc/st/stm32/common/stm32_wkup_pins.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/soc/st/stm32/common/stm32_wkup_pins.c b/soc/st/stm32/common/stm32_wkup_pins.c index 0ca40b9b2a9..2232efdd1e6 100644 --- a/soc/st/stm32/common/stm32_wkup_pins.c +++ b/soc/st/stm32/common/stm32_wkup_pins.c @@ -275,9 +275,8 @@ int stm32_pwr_wkup_pin_cfg_gpio(const struct gpio_dt_spec *gpio) } if (!found_gpio) { - LOG_DBG("Couldn't find a wake-up event corresponding to GPIO %s pin %d\n", + LOG_DBG("Couldn't find a wake-up event corresponding to GPIO %s pin %d", gpio->port->name, gpio->pin); - LOG_DBG("=> It cannot be used as a wake-up source\n"); return -EINVAL; }