diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-02-11 09:52:33 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-02-11 09:52:33 -0800 |
| commit | c371f62da7982ff4f19484a131db7a255538ad00 (patch) | |
| tree | 55bea842ce28a9a5243bece26d213a9f4f687888 /rust/helpers | |
| parent | e86dda7bde8801d32ffe7d1570fe173cab14d1ba (diff) | |
| parent | 9321f9d27fbaf6c4f32772fc2620961a0c492135 (diff) | |
| download | linux-c371f62da7982ff4f19484a131db7a255538ad00.tar.gz linux-c371f62da7982ff4f19484a131db7a255538ad00.tar.bz2 linux-c371f62da7982ff4f19484a131db7a255538ad00.zip | |
Merge tag 'pwm/for-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux
Pull pwm updates from Uwe Kleine-König:
"There are a few patches adapting to changes in Rust land which seems
to be the norm since there is a pwm driver written in Rust. Other than
that just a few cleanups and a single fix for the tiehrpwm driver that
came in too late for making it into v6.19.
Thanks to Andy Shevchenko, Bartosz Golaszewski, Daniel Almeida and
Michal Wilczynski for reviews in this cycle, and to Alice Ryhl, Ben
Zong-You Xie, Gokul Praveen, Kari Argillander, Markus Probst, Raag
Jadav, Shankari Anand, Tamir Duberstein and Vladimir Zapolskiy for
code contributions"
* tag 'pwm/for-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux:
pwm: Remove redundant check in pwm_ops_check()
pwm: tiehrpwm: Enable pwmchip's parent device before setting configuration
pwm: Update MAINTAINER entry
rust: pwm: Add __rust_helper to helpers
rust: pwm: Simplify to_result call sites and unsafe blocks
rust: pwm: Fix potential memory leak on init error
dt-bindings: pwm: nxp,lpc32xx-pwm: Specify clocks property as mandatory
pwm: th1520: Replace `kernel::c_str!` with C-Strings
pwm: dwc: Use size macro
pwm: Emit native configuration in /sys/kernel/debug/pwm
rust: pwm: Add UnregisteredChip wrapper around Chip
rust: pwm: Update ARef and AlwaysRefCounted imports to use sync::aref
Diffstat (limited to 'rust/helpers')
| -rw-r--r-- | rust/helpers/pwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/helpers/pwm.c b/rust/helpers/pwm.c index d75c58886368..eb24d2ea8e74 100644 --- a/rust/helpers/pwm.c +++ b/rust/helpers/pwm.c @@ -4,17 +4,17 @@ #include <linux/pwm.h> -struct device *rust_helper_pwmchip_parent(const struct pwm_chip *chip) +__rust_helper struct device *rust_helper_pwmchip_parent(const struct pwm_chip *chip) { return pwmchip_parent(chip); } -void *rust_helper_pwmchip_get_drvdata(struct pwm_chip *chip) +__rust_helper void *rust_helper_pwmchip_get_drvdata(struct pwm_chip *chip) { return pwmchip_get_drvdata(chip); } -void rust_helper_pwmchip_set_drvdata(struct pwm_chip *chip, void *data) +__rust_helper void rust_helper_pwmchip_set_drvdata(struct pwm_chip *chip, void *data) { pwmchip_set_drvdata(chip, data); } |
