drivers: use common PM action callback naming
The PM callback is no longer referenced as "pm_control" but "pm_action_cb", so reflect this new naming on the callbacks. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
01430da395
commit
4baf1e01ff
35 changed files with 115 additions and 110 deletions
|
@ -1831,8 +1831,8 @@ static void wait_for_tx_stopped(const struct device *dev)
|
|||
}
|
||||
|
||||
|
||||
static int uarte_nrfx_pm_control(const struct device *dev,
|
||||
enum pm_device_action action)
|
||||
static int uarte_nrfx_pm_action(const struct device *dev,
|
||||
enum pm_device_action action)
|
||||
{
|
||||
NRF_UARTE_Type *uarte = get_uarte_instance(dev);
|
||||
#if defined(CONFIG_UART_ASYNC_API) || defined(UARTE_INTERRUPT_DRIVEN)
|
||||
|
@ -1999,7 +1999,7 @@ static int uarte_nrfx_pm_control(const struct device *dev,
|
|||
} \
|
||||
DEVICE_DT_DEFINE(UARTE(idx), \
|
||||
uarte_##idx##_init, \
|
||||
uarte_nrfx_pm_control, \
|
||||
uarte_nrfx_pm_action, \
|
||||
&uarte_##idx##_data, \
|
||||
&uarte_##idx##z_config, \
|
||||
PRE_KERNEL_1, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue