[PATCH 4/4] pwm: th1520: Fix clippy warning for redundant struct field init

From: Michal Wilczynski

Date: Tue Oct 28 2025 - 08:23:21 EST


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@xxxxxxxxxxx>
---
drivers/pwm/pwm_th1520.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
index 5fb123f5e9c6dc3a8ee9a7a47fa778c23213e957..95a809af48eb16fe13125d4d9f4ee5de20555e77 100644
--- a/drivers/pwm/pwm_th1520.rs
+++ b/drivers/pwm/pwm_th1520.rs
@@ -185,7 +185,7 @@ fn round_waveform_tohw(
);

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

--
2.34.1