kunit_platfo...e_unregister(9)
π kunit_platform_device_unregister π
okay so welcome to the Kernel API Manual, bestie β this page is kunit_platform_device_unregister(9), and it's giving βclean up your KUnit platform device eraβ β¨
π NAME π
kunit_platform_device_unregister β Unregister a KUnit-managed platform device π
πͺ SYNOPSIS πͺ
void kunit_platform_device_unregister (struct kunit *test , struct platform_device *pdev );
π§Έ ARGUMENTS π§Έ
testβ the test context, iykyk π«Άpdevβ the platform device to unregister π
π« DESCRIPTION π«
Unregister a test-managed platform device and cancel its release action. That's the whole vibe: the device gets unregistered, and its release action gets cancelled too. No cap β¨
π SEE ALSO π
- Kernel file
./lib/kunit/platform.c kunit_platform_device_alloc(9)kunit_platform_device_add(9)kunit_platform_device_register_full(9)kunit_platform_device_prepare_wait_for_probe(9)kunit_platform_driver_register(9)
mwah π this one comes from ./lib/kunit, dated October 2026, and the footer is literally kunit_platfo...e_unregister(9) β periodt, bye bestie π¦π
π¦ 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