* @brief Return non-zero if the device currently has a driver * attached to it */
| 2707 | * attached to it |
| 2708 | */ |
| 2709 | int |
| 2710 | device_is_attached(device_t dev) |
| 2711 | { |
| 2712 | return (dev->state >= DS_ATTACHED); |
| 2713 | } |
| 2714 | |
| 2715 | /** |
| 2716 | * @brief Return non-zero if the device is currently suspended. |
no outgoing calls
no test coverage detected