| 15 | } |
| 16 | |
| 17 | static error_t stop() { |
| 18 | /* We crash when destruct fails, because if a single driver fails to destruct, |
| 19 | * there is no guarantee that the previously destroyed drivers can be recovered */ |
| 20 | check(driver_remove_destruct(&hal_device_driver) == ERROR_NONE); |
| 21 | return ERROR_NONE; |
| 22 | } |
| 23 | |
| 24 | struct Module hal_device_module = { |
| 25 | .name = "hal-device", |
nothing calls this directly
no test coverage detected