devm_platfor...ile_register(9)
π
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:
_commmon_choices_show(9)_store_class_profile(9)_notify_class_profile(9)get_class_profile(9)name_show(9)choices_show(9)profile_show(9)profile_store(9)_aggregate_choices(9)_remove_hidden_choices(9)platform_profile_choices_show(9)_aggregate_profiles(9)_store_and_notify(9)platform_profile_show(9)platform_profile_store(9)platform_profile_notify(9)platform_profile_cycle(9)platform_profile_register(9)platform_profile_remove(9)
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
- 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