platform_de...egister_full(9)
π platform_de...egister_full(9) π
ok so this is a page from the Kernel API Manual, bestie β the truncated-name girlies will recognise her π (platform_de...egister_full, yes the name is literally abbreviated with dots, that's her whole thing, no cap).
β¨ NAME β¨
platform_device_register_full β add a platform-level device with resources and platform-specific data π«Ά
πΈ SYNOPSIS πΈ
struct platform_device * platform_device_register_full (const struct
platform_device_info *pdevinfo );
like, that's the whole signature, she's a one-liner icon π₯
π¦ ARGUMENTS π¦
pdevinfoβ the data used to create the device. that's it, that's the entire argument, she's lowkey minimal π
β DESCRIPTION β
okay so here's the tea β β this function returns a struct platform_device pointer on success, or ERR_PTR on error. that's literally it. no cap, no extra lore, that's the whole description. check your return value before you dereference it, bestie, ERR_PTR will absolutely ruin your day ππ
π SEE ALSO π
the squad!! the whole friend group, and yes i'm listing every single one because they all ate πβ¨
Kernel file ./drivers/base/platform.c:
platform_get_resource(9)devm_platform_get_and_ioremap_resource(9)devm_platform_ioremap_resource(9)devm_platform_ioremap_resource_byname(9)platform_get_irq_affinity(9)platform_get_irq_optional(9)platform_get_irq(9)platform_irq_count(9)devm_platform_get_irqs_affinity(9)platform_get_resource_byname(9)platform_get_irq_byname(9)platform_get_irq_byname_optional(9)platform_add_devices(9)platform_device_put(9)platform_device_alloc(9)platform_device_add_resources(9)platform_device_add_data(9)platform_device_set_of_node(9)platform_device_set_fwnode(9)platform_device_set_of_node_from_dev(9)platform_device_add(9)platform_device_del(9)platform_device_register(9)platform_device_unregister(9)__platform_driver_register(9)platform_driver_unregister(9)__platform_driver_probe(9)__platform_create_bundle(9)__platform_register_drivers(9)platform_unregister_drivers(9)platform_match(9)platform_find_device_by_driver(9)
like, thirty-two whole references, she's connected π
ngl bestie, if you got this far you should probably go read the actual source at ./drivers/base/platform.c β it's giving main character energy and it's right there πΈ
and that's the page!! π brought to you by ./drivers/base, dated October 2026, from the Kernel API Manual β mwah, slay, go write some device drivers, ily ππ§ββοΈ
π¦ 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