Commit 4823a580 authored by Viresh Kumar's avatar Viresh Kumar
Browse files

cpufreq: Convert `/// SAFETY` lines to `# Safety` sections



Replace `/// SAFETY` comments in doc comments with proper `# Safety`
sections, as per rustdoc conventions.

Also mark the C FFI callbacks as `unsafe` to correctly reflect their
safety requirements.

Reported-by: default avatarMiguel Ojeda <ojeda@kernel.org>
Closes: https://github.com/Rust-for-Linux/linux/issues/1169


Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 19272b37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment