clk_hw_register_kunit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ”₯


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