Skip to content

Commit 7a6c7ea

Browse files
nordic-krchcfriedt
authored andcommitted
drivers: serial: nrfx_uarte: Remove redundant pinctrl call
Pinctrl call is redundant as uarte_periph_enable calls it as well. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent e8548e6 commit 7a6c7ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/serial/uart_nrfx_uarte.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,6 @@ static void uarte_pm_resume(const struct device *dev)
23922392
const struct uarte_nrfx_config *cfg = dev->config;
23932393

23942394
if (IS_ENABLED(CONFIG_PM_DEVICE_RUNTIME) || !LOW_POWER_ENABLED(cfg)) {
2395-
(void)pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT);
23962395
uarte_periph_enable(dev);
23972396
}
23982397
}

0 commit comments

Comments
 (0)