diff --git a/doc/services/pm/device_runtime.rst b/doc/services/pm/device_runtime.rst index a8b21fa2f29..a1ffb0a670e 100644 --- a/doc/services/pm/device_runtime.rst +++ b/doc/services/pm/device_runtime.rst @@ -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: