Commit 26dcb420 authored by Michal Wilczynski's avatar Michal Wilczynski Committed by Uwe Kleine-König
Browse files

pwm: th1520: Fix clippy warning for redundant struct field init



Clippy warns about redundant struct field initialization when the field
name and the variable name are the same (e.g., `status: status`).

No functional change.

Signed-off-by: default avatarMichal Wilczynski <m.wilczynski@samsung.com>
Reviewed-by: default avatarElle Rhumsaa <elle@weathered-steel.dev>
Link: https://patch.msgid.link/20251028-pwm_fixes-v1-4-25a532d31998@samsung.com


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent 6fe9e919
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ fn round_waveform_tohw(
        );

        Ok(pwm::RoundedWaveform {
            status: status,
            status,
            hardware_waveform: wfhw,
        })
    }