typec_mux_unregister(9)
π typec_mux_unregister β like, the Kernel API Manual page, bestie β¨
okay so before we even start: this is a page from the Kernel API Manual (typec_mux_unregister(9), yes the section number is 9, we love that for it) and it's literally all about cleaning up after your mux. let's get into it π
β¨ NAME β¨
typec_mux_unregister β Unregister Multiplexer Switch π¦
πΈ SYNOPSIS πΈ
void typec_mux_unregister (struct typec_mux_dev *mux_dev );
that's it. that's the whole call. no return value, it's a void, she just does the thing and dips π
π ARGUMENTS π
mux_devβ the USB Type-C Connector Multiplexer/DeMultiplexer in question π«Ά like, the actual mux device struct you're saying bye to.
π DESCRIPTION π
Unregister a mux that was previously registered with typec_mux_register. that's the vibe. you put it in the system with one call, you take it out with this one. balanced. symmetrical. iconic. β¨
ngl it's a two-step and she ate both steps β register to bring the mux into the world, typec_mux_unregister to send it off. no cap. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/usb/typec/mux.cβ the source file, go read it, iykyk π fwnode_typec_switch_get(9)typec_switch_put(9)typec_switch_register(9)typec_switch_unregister(9)fwnode_typec_mux_get(9)typec_mux_put(9)typec_mux_register(9)β the other half of the story, the main character to this page's counterpart π
and that's the whole page, bestie β sent from ./drivers/usb/typec, dated October 2026, and the page itself is typec_mux_unregister(9) in the Kernel API Manual. mwah π go unregister something 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