Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-05-20 | rust: cpu: Add from_cpu() | 1 | -0/+30 | ||
This implements cpu::from_cpu(), which returns a reference to Device for a CPU. The C struct is created at initialization time for CPUs and is never freed and so ARef isn't returned from this function. The new helper will be used by Rust based cpufreq drivers. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> |