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:
Flavio Ceolin 2021-08-05 09:10:29 -07:00 committed by Anas Nashif
commit a8c4916ac0

View file

@ -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);