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
|
@ -326,8 +326,8 @@ static int postNotifyFxn(unsigned int eventType, uintptr_t eventArg,
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
static int i2c_cc13xx_cc26xx_pm_control(const struct device *dev,
|
||||
enum pm_device_action action)
|
||||
static int i2c_cc13xx_cc26xx_pm_action(const struct device *dev,
|
||||
enum pm_device_action action)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
|
@ -437,7 +437,7 @@ static struct i2c_cc13xx_cc26xx_data i2c_cc13xx_cc26xx_data = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
i2c_cc13xx_cc26xx_init,
|
||||
i2c_cc13xx_cc26xx_pm_control,
|
||||
i2c_cc13xx_cc26xx_pm_action,
|
||||
&i2c_cc13xx_cc26xx_data, &i2c_cc13xx_cc26xx_config,
|
||||
POST_KERNEL, CONFIG_I2C_INIT_PRIORITY,
|
||||
&i2c_cc13xx_cc26xx_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue