| 303 | } |
| 304 | |
| 305 | void device_unlock(struct Device* device) { |
| 306 | mutex_unlock(&device->internal->mutex); |
| 307 | } |
| 308 | |
| 309 | const struct DeviceType* device_get_type(struct Device* device) { |
| 310 | return device->internal->driver ? device->internal->driver->device_type : NULL; |
no test coverage detected