doc: PM: Fix dereference in 'services/pm/device_runtime'
See https://github.com/zephyrproject-rtos/zephyr/issues/76741 Fixes the dereference of the PM action in the doc. Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
This commit is contained in:
parent
1c689fce18
commit
b649efe6dd
@ -124,7 +124,7 @@ by the PM subsystem to suspend or resume devices.
|
||||
.. code-block:: c
|
||||
|
||||
static int mydev_pm_action(const struct device *dev,
|
||||
enum pm_device_action *action)
|
||||
enum pm_device_action action)
|
||||
{
|
||||
switch (action) {
|
||||
case PM_DEVICE_ACTION_SUSPEND:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user