]> Gentwo Git Trees - linux/.git/commit
pwm: Fix Rust formatting
authorMiguel Ojeda <ojeda@kernel.org>
Wed, 29 Oct 2025 18:25:02 +0000 (19:25 +0100)
committerUwe Kleine-König <ukleinek@kernel.org>
Thu, 13 Nov 2025 09:21:01 +0000 (10:21 +0100)
commit6fe9e919c144f1296d38e2abb10c7ac4320aa7fa
tree30f287ea45a5a32e3f91d8f0ed9943897d038aa0
parenta367b64ba498a7eac34af3a67ce59317066b2779
pwm: Fix Rust formatting

We do our best to keep the repository `rustfmt`-clean [1], thus run the
tool to fix the formatting issue.

A trailing empty comment [2] is added in order to preserve the wanted
style for imports (otherwise the tool will compact the first two items).

Link: https://rust-for-linux.com/contributing#submit-checklist-addendum
Link: https://docs.kernel.org/rust/coding-guidelines.html#style-formatting
Fixes: d8046cd50879 ("rust: pwm: Add complete abstraction layer")
Fixes: 7b3dce814a15 ("rust: pwm: Add Kconfig and basic data structures")
Fixes: e03724aac758 ("pwm: Add Rust driver for T-HEAD TH1520 SoC")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://patch.msgid.link/20251029182502.783392-1-ojeda@kernel.org
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/pwm_th1520.rs
rust/kernel/lib.rs
rust/kernel/pwm.rs