Skip to content
Commit b6fa34f1 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

drivers: i2c: stm32: Simplify device init



pm_device_runtime_enable() will call i2c_stm32_suspend() if
pm_device_init_suspended() isn't called.
Since the aim is to perform suspension, just need to call
pm_device_runtime_enable().

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent 85fb82e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment