mux_chip_unregister(9)
π mux_chip_unregister(9) β Kernel API Manual energy π
okay so bestie, welcome to the mux_chip_unregister(9) page from the Kernel API Manual β itβs giving kernel cleanup era, and weβre gonna read it together, no skips. π
β¨ NAME β¨
mux_chip_unregister β take the mux-chip off-line. Literally remove it from the active lineup, periodt. π«Ά
πΈ SYNOPSIS πΈ
void mux_chip_unregister (struct mux_chip *mux_chip );
π ARGUMENTS π
mux_chipβ the mux-chip to unregister, aka the one getting taken off-line. π¦
π DESCRIPTION π
okay so mux_chip_unregister reverses the effects of mux_chip_register. But β important plot twist β not completely. The page is super clear that you should not try to call mux_chip_register on a mux-chip that has been registered before. Thatβs a no-no, bestie. π
β οΈ fr fr: donβt call mux_chip_register on a mux-chip that has been registered before. The unregister does not make that a cute little re-register situation. π
π SEE ALSO π
the whole friend group, in the exact order the page gives them:
- 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_free(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)
signed off with love from the source/version ./drivers/mux, dated October 2026, and the page herself is mux_chip_unregister(9) β slay, 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