]> Gentwo Git Trees - linux/.git/commit
pwm: th1520: Fix clippy warning for redundant struct field init
authorMichal Wilczynski <m.wilczynski@samsung.com>
Tue, 28 Oct 2025 12:22:35 +0000 (13:22 +0100)
committerUwe Kleine-König <ukleinek@kernel.org>
Thu, 13 Nov 2025 09:21:34 +0000 (10:21 +0100)
commit26dcb42086d401373b9e09b7f83357e8b9af6b55
treec51e4cf63deb30f71a082f4ffdc1253aa2f080b0
parent6fe9e919c144f1296d38e2abb10c7ac4320aa7fa
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>
drivers/pwm/pwm_th1520.rs