clk_hw_register_kunit(9)
okay bestie, welcome to the clk_hw_register_kunit(9) page from the Kernel API Manual π this one is literally about test-managed clock registration, and yes, itβs giving βclean up after yourselfβ energy β¨
πΈ NAME πΈ
clk_hw_register_kunit β Test managed clk_hw_register() π
π SYNOPSIS π
int clk_hw_register_kunit (struct kunit *test , struct device *dev ,
struct clk_hw *hw );
π¦ ARGUMENTS π¦
testβ The test context π§ͺβ¨devβ device that is registering this clock π₯οΈπ«hwβ link to hardware-specific clock data ππ°οΈ
π DESCRIPTION π
okay so this is just like clk_hw_register, except the clk registration is managed by the test case and is automatically unregistered after the test case concludes π«Ά no cap, the test case is the main character here and it handles the cleanup β¨
π RETURN π
0 on success or a negative errno value on failure ππ
π₯ SEE ALSO π₯
- Kernel file
./drivers/clk/clk_kunit_helpers.cπ clk_prepare_enable_kunit(9)clk_get_kunit(9)of_clk_get_kunit(9)clk_hw_get_clk_kunit(9)clk_hw_get_clk_prepared_enabled_kunit(9)of_clk_hw_register_kunit(9)of_clk_add_hw_provider_kunit(9)
bye bestie, mwah π β source/version lives under ./drivers/clk, date is October 2026, and this iconic page is clk_hw_register_kunit(9) πΈπ«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms