cm_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cm_unregister(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the Kernel API Manual entry for cm_unregister(9) β€” this is the little cleanup-era icon that unregisters per-SoC low-level data & function pointers. no cap, it’s giving β€œput the special per-SoC stuff back where you found it” energy. πŸŽ€


✨ NAME ✨

cm_unregister β€” unregister per-SoC low-level data & function pointers πŸ¦‹


🌸 SYNOPSIS 🌸

int cm_unregister (const struct cm_ll_data *cld );

πŸŽ€ ARGUMENTS πŸŽ€

  • cld β€” the low-level per-SoC OMAP CM data & function pointers you want to unregister, bestie. literally the whole struct cm_ll_data situation. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so here’s the vibe: cm_unregister unregisters the per-SoC low-level OMAP CM data and function pointers that were previously registered with cm_register. πŸ”₯

important one, fr fr: the caller may not destroy any of the data pointed to by cld until this function returns successfully. do not skip that part. 😭

it returns 0 upon success, or -EINVAL if cld is NULL or if cld does not match the struct cm_ll_data * previously registered by cm_register. periodt. πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯


πŸ’– cute little sign-off time πŸ’– β€” this page lives under ./arch/arm/mach-omap2, and the date on it is October 2026. that’s the source/version and date, bestie, all accounted for. slay. πŸ’…βœ¨

πŸ“¦ where this page comes from