typec_switch_unregister(9)
π NAME π
Okay bestie, welcome to the typec_switch_unregister(9) page from the Kernel API Manual β manual name folded in near the top, exactly as requested, you're welcome π
. This one is all about typec_switch_unregister β Unregister USB Type-C orientation switch. That's the whole vibe: it's the unregistering bestie for a USB Type-C orientation switch. Iconic.
β¨ SYNOPSIS β¨
Here's the signature, copied exactly so nobody comes for me:
void typec_switch_unregister (struct typec_switch_dev *sw_dev );
It's giving void return, so no value comes back β the synopsis says it, I'm just saying it with my whole chest. slay.
π ARGUMENTS π
sw_devβ the USB Type-C orientation switch. That's the one and only argument, and yes she is astruct typec_switch_dev *in the synopsis above. main character energy fr fr.
π¦ DESCRIPTION π¦
So what does it actually do? It unregisters the switch that was registered with typec_switch_register. That's it. That's the lore. If your switch got registered, this is the function that takes the registration back out. No extra side quests, no invented behaviour, no cap. π
π SEE ALSO π
- Kernel file
./drivers/usb/typec/mux.cβ the file reference, right where it belongs. fwnode_typec_switch_get(9)typec_switch_put(9)typec_switch_register(9)fwnode_typec_mux_get(9)typec_mux_put(9)typec_mux_register(9)typec_mux_unregister(9)
Final cute sign-off bestie π: source/version is ./drivers/usb/typec, the date is October 2026, and this is the typec_switch_unregister(9) page from the Kernel API Manual. Periodt. π«Άβ¨
π¦ 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