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