23 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3============4Resource API5============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 store10state on a per-test basis, register custom cleanup actions, and more.11 12.. kernel-doc:: include/kunit/resource.h13 :internal:14 15Managed Devices16---------------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.h22 :internal:23