devm_platfor...ile_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_platfor...ile_register(9) β€” Kernel API Manual

🌸 NAME 🌸

okay so bestie, this is the page for devm_platform_profile_register β€” literally the device-managed version of platform_profile_register. That's the whole name-vibe. periodt πŸ’–

✨ SYNOPSIS ✨

the signature is giving:

       struct device * devm_platform_profile_register (struct device *dev ,
       const char *name , void *drvdata , const struct platform_profile_ops
       *ops );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the parent device 🫢
  • name β€” name of the class device ✨
  • drvdata β€” driver data that will be attached to the class device πŸ’…
  • ops β€” the platform profile's mandatory operations πŸ‘‘

πŸ¦‹ RETURN πŸ¦‹

on success you get a pointer to the new class device β€” slay. on failure you get ERR_PTR β€” not slay, but that's the deal 😭.

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./drivers/acpi/platform_profile.c, and it's lowkey the main character here. go check out:


cute sign-off: this one comes from ./drivers/acpi, dated October 2026, and it's the devm_platfor...ile_register(9) page. bye bestie β€” go be iconic with your platform profiles πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from