platform_unregister_drivers(9)
π platform_unregister_drivers β Kernel API Manual π
hey bestie π welcome to the platform_unregister_drivers(9) page. yes, itβs a Kernel API Manual moment, and yes, weβre gonna keep every detail because thatβs the whole vibe. periodt.
πΈ NAME πΈ
platform_unregister_drivers β unregister an array of platform drivers. literally the cleanup-era function, no cap β¨
β¨ SYNOPSIS β¨
okay so hereβs the signature, exactly as it shows up β no edits, bestie:
void platform_unregister_drivers (struct platform_driver * const
*drivers , unsigned int count );
π ARGUMENTS π
driversβ an array of drivers to unregister. like, the whole lineup π«Άcountβ the number of drivers to unregister. the actual number, not a vibe check π
π¦ DESCRIPTION π¦
Unregisters platform drivers specified by an array. This is typically used to complement an earlier call to platform_register_drivers.
Drivers are unregistered in the reverse order in which they were registered. yes, reverse order β itβs giving backtracking cleanup energy, and honestly it ate π π₯
π SEE ALSO π
Kernel file ./drivers/base/platform.c is where this lives, iykyk. also go say hi to the whole squad:
platform_get_resource(9)devm_platform_get_and_ioremap_resource(9)devm_platform_ioremap_resource(9)devm_platform_ioremap_resource_byname(9)platform_get_irq_affinity(9)platform_get_irq_optional(9)platform_get_irq(9)platform_irq_count(9)devm_platform_get_irqs_affinity(9)platform_get_resource_byname(9)platform_get_irq_byname(9)platform_get_irq_byname_optional(9)platform_add_devices(9)platform_device_put(9)platform_device_alloc(9)platform_device_add_resources(9)platform_device_add_data(9)platform_device_set_of_node(9)platform_device_set_fwnode(9)platform_device_set_of_node_from_dev(9)platform_device_add(9)platform_device_del(9)platform_device_register(9)platform_device_unregister(9)platform_device_register_full(9)__platform_driver_register(9)platform_driver_unregister(9)__platform_driver_probe(9)__platform_create_bundle(9)__platform_register_drivers(9)platform_match(9)platform_find_device_by_driver(9)
okay thatβs the whole page, mwah π β this came from source/version ./drivers/base, dated October 2026, for platform_unregister_drivers(9). 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