mux_chip_free(9)
πΈ mux_chip_free β NAME vibes β¨
okay so bestie, welcome to the Kernel API Manual entry for mux_chip_free π
and honestly? the name says it all:
mux_chip_free β free the mux-chip for good. like, gone gone. no take-backsies π«Ά
β¨ SYNOPSIS β¨
void mux_chip_free (struct mux_chip *mux_chip );
that's the whole signature, no cap. it returns void, so don't go looking for a return value that isn't there π
π ARGUMENTS π
mux_chipβ the mux-chip you're freeing. that's her. she's the one being released π
π¦ DESCRIPTION π¦
so here's the tea β: mux_chip_free reverses the effects of mux_chip_alloc. that's literally the whole job, and she does it iconically π
think of it like the undo button for the alloc β mux_chip_alloc brought the mux-chip into existence, and mux_chip_free is the one that ends that era. main character energy on both sides, honestly π
π₯ SEE ALSO π₯
bestie you are gonna want the whole friend group for this one, because the mux family is large and everyone is invited to the group chat π
- Kernel file
./drivers/mux/core.c struct mux_state(9)struct devm_mux_state_state(9)mux_chip_alloc(9)mux_chip_register(9)mux_chip_unregister(9)devm_mux_chip_alloc(9)devm_mux_chip_register(9)mux_control_states(9)mux_control_select_delay(9)mux_state_select_delay(9)mux_control_try_select_delay(9)mux_state_try_select_delay(9)mux_control_deselect(9)mux_state_deselect(9)mux_get(9)mux_control_get(9)mux_control_get_optional(9)mux_control_put(9)devm_mux_control_get(9)mux_state_get(9)__devm_mux_state_get(9)devm_mux_state_get_from_np(9)devm_mux_state_get_optional(9)devm_mux_state_get_selected(9)devm_mux_state_get_optional_selected(9)
seriously, read them all. iykyk π§ββοΈ
ngl,mux_chip_freeis the cleanup queen π β pair her withmux_chip_allocand your mux-chip lifecycle stays immaculate π
and that's the page, bestie π this lil gem lives in ./drivers/mux, dated October 2026 β stay slay, stay leak-free, and free your mux-chips 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