| 1 | |
| 2 |
|
| 3 | ============
|
| 4 | Resource API
|
| 5 | ============
|
| 6 |
|
| 7 | This file documents the KUnit resource API.
|
| 8 |
|
| 9 | Most users won't need to use this API directly, power users can use it to store
|
| 10 | state on a per-test basis, register custom cleanup actions, and more.
|
| 11 |
|
| 12 | .. kernel-doc:: include/kunit/resource.h
|
| 13 | :internal:
|
| 14 |
|
| 15 | Managed Devices
|
| 16 | ---------------
|
| 17 |
|
| 18 | Functions for using KUnit-managed struct device and struct device_driver.
|
| 19 | Include ``kunit/device.h`` to use these.
|
| 20 |
|
| 21 | .. kernel-doc:: include/kunit/device.h
|
| 22 | :internal:
|