pm: device: Fix pm_device_state_set documentation
Document one more possible return value to this API. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
f5a3deaad3
commit
a8c4916ac0
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ const char *pm_device_state_str(enum pm_device_state state);
|
|||
* @retval -ENOTSUP If requested state is not supported.
|
||||
* @retval -EALREADY If device is already at (or transitioning to) the requested
|
||||
* state.
|
||||
* @retval Errno Other negative errno on failure.
|
||||
*/
|
||||
int pm_device_state_set(const struct device *dev,
|
||||
enum pm_device_state state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue