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
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ by the PM subsystem to suspend or resume devices.
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
static int mydev_pm_action(const struct device *dev,
|
static int mydev_pm_action(const struct device *dev,
|
||||||
enum pm_device_action *action)
|
enum pm_device_action action)
|
||||||
{
|
{
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case PM_DEVICE_ACTION_SUSPEND:
|
case PM_DEVICE_ACTION_SUSPEND:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue