devm_acpm_get_by_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– devm_acpm_get_by_node(9) πŸ’–

okay so this is the devm_acpm_get_by_node(9) page from the Kernel API Manual, and it’s short, sweet, and very β€œmanaged handle” coded. bestie, let’s get into it 🫢


✨ NAME ✨

managed get handle using node pointer β€” that’s the whole name vibe, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct acpm_handle * devm_acpm_get_by_node (struct device *dev , struct device_node *np );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” device pointer requesting ACPM handle. it’s the device saying β€œhey bestie, can I get an ACPM handle?” πŸ”₯
  • np β€” ACPM device tree node. literally the ACPM node in the device tree 🌸

✨ RETURN ✨

on success, you get a pointer to handle. otherwise, it’s ERR_PTR(-errno). that’s the return tea, periodt πŸ’–


πŸ’œ SEE ALSO πŸ’œ

the kernel file is ./drivers/firmware/samsung/exynos-acpm.c β€” that’s home base. and then the whole friend group is:


okay bestie, that’s the page πŸŽ€ source: ./drivers/firmware/samsung Β· date: October 2026 Β· page: devm_acpm_get_by_node(9) β€” bye, love u, drink water πŸ’–βœ¨

πŸ“¦ where this page comes from