projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7c601
)
rust: cpufreq: fix formatting
author
Miguel Ojeda
<ojeda@kernel.org>
Fri, 10 Oct 2025 17:43:51 +0000
(19:43 +0200)
committer
Miguel Ojeda
<ojeda@kernel.org>
Thu, 16 Oct 2025 22:56:20 +0000
(
00:56
+0200)
We do our best to keep the repository `rustfmt`-clean, thus run the tool
to fix the formatting issue.
Link:
https://docs.kernel.org/rust/coding-guidelines.html#style-formatting
Link:
https://rust-for-linux.com/contributing#submit-checklist-addendum
Fixes:
f97aef092e19
("cpufreq: Make drivers using CPUFREQ_ETERNAL specify transition latency")
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/cpufreq.rs
patch
|
blob
|
history
diff --git
a/rust/kernel/cpufreq.rs
b/rust/kernel/cpufreq.rs
index
21b5b9b
..
1a555fc
100644
(file)
--- a/
rust/kernel/cpufreq.rs
+++ b/
rust/kernel/cpufreq.rs
@@
-38,8
+38,7
@@
use macros::vtable;
const CPUFREQ_NAME_LEN: usize = bindings::CPUFREQ_NAME_LEN as usize;
/// Default transition latency value in nanoseconds.
-pub const DEFAULT_TRANSITION_LATENCY_NS: u32 =
- bindings::CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS;
+pub const DEFAULT_TRANSITION_LATENCY_NS: u32 = bindings::CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS;
/// CPU frequency driver flags.
pub mod flags {