pm: Supplement pm_device_is_powered doc
Supplement the documentation pm_device_is_powered() adding that a device is assumed powered in case the device does not support PM or is not on a power domain. Signed-off-by: Marcel Krüger <marcel.krueger@ithinx.io>
This commit is contained in:
parent
83b1a983a9
commit
8d6f74ad1f
1 changed files with 2 additions and 1 deletions
|
@ -576,7 +576,8 @@ int pm_device_power_domain_remove(const struct device *dev,
|
|||
*
|
||||
* @param dev Device instance.
|
||||
*
|
||||
* @retval true If device is currently powered
|
||||
* @retval true If device is currently powered, or is assumed to be powered
|
||||
* (i.e. it does not support PM or is not under a PM domain)
|
||||
* @retval false If device is not currently powered
|
||||
*/
|
||||
bool pm_device_is_powered(const struct device *dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue