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:
parent
3a2f839d45
commit
70947968d4
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue