device_driver_detach(9)
π NAME π
okay so welcome to the Kernel API Manual, bestie β this is device_driver_detach(9), and itβs literally here to detach a driver from a specific device. π
β¨ SYNOPSIS β¨
void device_driver_detach (struct device *dev );
π ARGUMENTS π
devβ device to detach driver from. π«Ά
π¦ DESCRIPTION π¦
Detach driver from device. π οΈ It will acquire both the dev lock and the dev->parent lock if needed.
π SEE ALSO π
The Kernel file ./drivers/base/dd.c is the source file, and these are the SEE ALSO besties:
driver_deferred_probe_trigger(9)device_block_probing(9)device_unblock_probing(9)device_set_deferred_probe_reason(9)driver_deferred_probe_check_state(9)deferred_probe_initcall(9)device_is_bound(9)device_bind_driver(9)driver_probe_done(9)wait_for_device_probe(9)driver_probe_device(9)device_attach(9)device_driver_attach(9)driver_attach(9)device_release_driver(9)driver_detach(9)
π cute sign-off: source/version is ./drivers/base, date is October 2026, and the page is device_driver_detach(9). bye bestie, go detach responsibly π
β¨
π¦ 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