mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
Uwe Kleine-König
parent
6fe9e919c1
commit
26dcb42086
@@ -185,7 +185,7 @@ impl pwm::PwmOps for Th1520PwmDriverData {
|
||||
);
|
||||
|
||||
Ok(pwm::RoundedWaveform {
|
||||
status: status,
|
||||
status,
|
||||
hardware_waveform: wfhw,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user