summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-12-16 14:38:41 -0500
committerSean Anderson <seanga2@gmail.com>2024-01-29 22:35:02 -0500
commit82719d3f409f93b2ce85145547c0bb91624a2c63 (patch)
tree1780fc8d4eff5137fdb2813bab9abf8b940fffda /test
parentb500447ad6aef31de75e3e9242101ae96eceb7ca (diff)
downloadu-boot-82719d3f409f93b2ce85145547c0bb91624a2c63.tar.gz
u-boot-82719d3f409f93b2ce85145547c0bb91624a2c63.tar.bz2
u-boot-82719d3f409f93b2ce85145547c0bb91624a2c63.zip
clk: Remove rfree
Nothing uses this function. Remove it. Since clk_free no longer does anything, just stub it out. Signed-off-by: Sean Anderson <seanga2@gmail.com> Link: https://lore.kernel.org/r/20231216193843.2463779-2-seanga2@gmail.com
Diffstat (limited to 'test')
-rw-r--r--test/dm/clk.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/dm/clk.c b/test/dm/clk.c
index 01417fbd82..57fabbdce0 100644
--- a/test/dm/clk.c
+++ b/test/dm/clk.c
@@ -182,19 +182,10 @@ static int dm_test_clk(struct unit_test_state *uts)
SANDBOX_CLK_ID_I2C));
ut_asserteq(1, sandbox_clk_query_requested(dev_clk,
SANDBOX_CLK_ID_UART2));
- ut_assertok(sandbox_clk_test_free(dev_test));
- ut_asserteq(0, sandbox_clk_query_requested(dev_clk,
- SANDBOX_CLK_ID_SPI));
- ut_asserteq(0, sandbox_clk_query_requested(dev_clk,
- SANDBOX_CLK_ID_I2C));
- ut_asserteq(0, sandbox_clk_query_requested(dev_clk,
- SANDBOX_CLK_ID_UART2));
ut_asserteq(1, sandbox_clk_query_requested(dev_clk,
SANDBOX_CLK_ID_UART1));
ut_assertok(device_remove(dev_test, DM_REMOVE_NORMAL));
- ut_asserteq(0, sandbox_clk_query_requested(dev_clk,
- SANDBOX_CLK_ID_UART1));
return 0;
}
DM_TEST(dm_test_clk, UT_TESTF_SCAN_FDT);