// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2019 NXP */ #include <kunit/test.h> #include <linux/pm_qos.h> /* Basic test for aggregating two "min" requests */ static void freq_qos_test_min(struct kunit *test) { … } /* Test that requests for MAX_DEFAULT_VALUE have no effect */ static void freq_qos_test_maxdef(struct kunit *test) { … } /* * Test that a freq_qos_request can be added again after removal * * This issue was solved by commit 05ff1ba412fd ("PM: QoS: Invalidate frequency * QoS requests after removal") */ static void freq_qos_test_readd(struct kunit *test) { … } static struct kunit_case pm_qos_test_cases[] = …; static struct kunit_suite pm_qos_test_module = …; kunit_test_suites(…);