]> Gentwo Git Trees - linux/.git/commit
rust: pwm: Drop wrapping of PWM polarity and state
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Sat, 25 Oct 2025 12:23:56 +0000 (14:23 +0200)
committerUwe Kleine-König <ukleinek@kernel.org>
Fri, 7 Nov 2025 09:22:43 +0000 (10:22 +0100)
commita69a54f8dffb105b2df2e606b4c9f61127d006ac
tree13f748d4a0aedc28316e811c771dbaffeebde400
parent264b501bb40dd22e8c4ab2c8a3378e32c2e04ec6
rust: pwm: Drop wrapping of PWM polarity and state

These were introduced and used in an earlier revision of the patch that
became commit fb3957af9ec6 ("pwm: Add Rust driver for T-HEAD TH1520
SoC"). The variant that was actually applied sticks to the modern
waveform abstraction only (and other drivers are supposed to do that,
too), so they can be dropped.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20251025122359.361372-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
rust/kernel/pwm.rs