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: Michal Wilczynski <m.wilczynski@samsung.com>
Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev>
Link: https://patch.msgid.link/20251028-pwm_fixes-v1-4-25a532d31998@samsung.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
This commit is contained in:
Michal Wilczynski
2025-10-28 13:22:35 +01:00
committed by Uwe Kleine-König
parent 6fe9e919c1
commit 26dcb42086

View File

@@ -185,7 +185,7 @@ impl pwm::PwmOps for Th1520PwmDriverData {
);
Ok(pwm::RoundedWaveform {
status: status,
status,
hardware_waveform: wfhw,
})
}