Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / Documentation / dev-tools / kunit / api / resource.rst
blobec6002a6b0dbc2923040b18cf56d6701ebe124df
1 .. SPDX-License-Identifier: GPL-2.0
3 ============
4 Resource API
5 ============
7 This file documents the KUnit resource API.
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.
12 .. kernel-doc:: include/kunit/resource.h
13    :internal:
15 Managed Devices
16 ---------------
18 Functions for using KUnit-managed struct device and struct device_driver.
19 Include ``kunit/device.h`` to use these.
21 .. kernel-doc:: include/kunit/device.h
22    :internal: