soc: stm32: common: wkup_pins: fix log output

Remove newline in log output and simplify log message.

Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
Martin Jäger 2025-04-09 10:45:23 +02:00 committed by Benjamin Cabé
commit 70947968d4

View file

@ -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;
}