diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2025-10-10 19:43:51 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-23 16:24:38 +0200 |
| commit | 6aaf1745859f91ee78b9a477d92b1387476b92a6 (patch) | |
| tree | 0d852233be63c0f6de7e9d88ef558eb7e73e9027 /rust | |
| parent | 2c22e2a1b6f5cf3d3a8d39d49deef2b45025f9c5 (diff) | |
| download | linux-6aaf1745859f91ee78b9a477d92b1387476b92a6.tar.gz linux-6aaf1745859f91ee78b9a477d92b1387476b92a6.tar.bz2 linux-6aaf1745859f91ee78b9a477d92b1387476b92a6.zip | |
rust: cpufreq: fix formatting
[ Upstream commit 32f072d9eaf9c31c2b0527a4a3370570a731e3cc ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/kernel/cpufreq.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/kernel/cpufreq.rs b/rust/kernel/cpufreq.rs index b762ecdc22b0..cb15f612028e 100644 --- a/rust/kernel/cpufreq.rs +++ b/rust/kernel/cpufreq.rs @@ -39,8 +39,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 { |
