device_pm_wait_for_dev
Prev | Device Drivers Power Management | Next

## Name

device_pm_wait_for_dev — Wait for suspend/resume of a device to complete.

## Synopsis

`int device_pm_wait_for_dev (` | struct device * subordinate,
| struct device * dev`)`;

## Arguments

`subordinate`

  Device that needs to wait for `dev`.

`dev`

  Device to wait for.

Prev | Up | Next
dpm_suspend_start | Home | dpm_for_each_dev