ishtp_cl_device_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so you found the kernel API manual, bestie, and this page is literally about ishtp_cl_device_remove β€” the bus remove() callback. yes THAT one. let's get into it ✨


✨ NAME ✨

ishtp_cl_device_remove β€” the bus remove() callback 🫢


🌸 SYNOPSIS 🌸

void ishtp_cl_device_remove (struct device *dev );

like, that's the whole signature. void return, one arg, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device structure. that's it, that's the arg πŸŽ€

πŸ’– DESCRIPTION πŸ’–

so this one is a bus remove callback, and what it does is it calls the driver's remove function. basically it hands off the goodbye πŸ‘‹

and here's the context that matters: the ISH driver model only supports built in β€” meaning no loadable-module situation β€” so this is primarily called during pci driver init failure. yeah. it's the "welp, that didn't work" cleanup moment 😭


πŸ”₯ RETURN πŸ”₯

returns whatever the driver remove call returns. it's giving return value from driver remove call, periodt ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c β€” go read the source, iykyk πŸ’œ

and the whole friend group:

like, the whole roster. go say hi 🌈


and that's the page!! mwah πŸ’‹ this lil gem lives in ./drivers/hid/intel-ish-hid/ishtp, dated October 2026, and yes the manual page name is still ishtp_cl_device_remove(9) β€” slay, go remove some devices responsibly πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from