Skip to content

Commit 32f072d

Browse files
committed
rust: cpufreq: fix formatting
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: f97aef0 ("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>
1 parent 8a7c601 commit 32f072d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rust/kernel/cpufreq.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ use macros::vtable;
3838
const CPUFREQ_NAME_LEN: usize = bindings::CPUFREQ_NAME_LEN as usize;
3939

4040
/// Default transition latency value in nanoseconds.
41-
pub const DEFAULT_TRANSITION_LATENCY_NS: u32 =
42-
bindings::CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS;
41+
pub const DEFAULT_TRANSITION_LATENCY_NS: u32 = bindings::CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS;
4342

4443
/// CPU frequency driver flags.
4544
pub mod flags {

0 commit comments

Comments
 (0)