Skip to content

Commit 6aaf174

Browse files
ojedagregkh
authored andcommitted
rust: cpufreq: fix formatting
[ Upstream commit 32f072d ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 2c22e2a commit 6aaf174

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
@@ -39,8 +39,7 @@ use macros::vtable;
3939
const CPUFREQ_NAME_LEN: usize = bindings::CPUFREQ_NAME_LEN as usize;
4040

4141
/// Default transition latency value in nanoseconds.
42-
pub const DEFAULT_TRANSITION_LATENCY_NS: u32 =
43-
bindings::CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS;
42+
pub const DEFAULT_TRANSITION_LATENCY_NS: u32 = bindings::CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS;
4443

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

0 commit comments

Comments
 (0)