pm_runtime_has_no_callbacks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, meet pm_runtime_has_no_callbacks(9) πŸ’…βœ¨ she's from the Kernel API Manual, and she's here to answer one (1) very specific question: can runtime PM callbacks be present on this device or not? 🫢

πŸ’– NAME πŸ’–

pm_runtime_has_no_callbacks β€” check if runtime PM callbacks may be present. πŸ‘€

✨ SYNOPSIS ✨

bool pm_runtime_has_no_callbacks (struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” target device. 🎯

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea β˜•: this function returns true if dev is a special device without runtime PM callbacks, and false otherwise. That's the whole plot, no cap 😌✨

🌸 SEE ALSO 🌸

Kernel file: ./include/linux/pm_runtime.h 🧚

And the whole runtime PM bestie squad is here:


xoxo, this page is filed under source ./include/linux, dated October 2026, and officially signed pm_runtime_has_no_callbacks(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from