summaryrefslogtreecommitdiff
path: root/rust/kernel/irq/request.rs
diff options
context:
space:
mode:
authorDaniel Almeida <daniel.almeida@collabora.com>2025-07-29 20:31:41 +0300
committerMark Brown <broonie@kernel.org>2025-08-10 23:09:34 +0300
commit9a200cbdb54349909a42b45379e792e4b39dd223 (patch)
treefe817b3d51a7b80e6c8f1f5b7a70034f5603e3d3 /rust/kernel/irq/request.rs
parentf7fbf3091f4cc4133574852f655593e1613d1af0 (diff)
downloadlinux-9a200cbdb54349909a42b45379e792e4b39dd223.tar.xz
rust: regulator: implement Send and Sync for Regulator<T>
Sending a &Regulator<T> to another thread is safe, as the regulator core will properly handle the locking for us. Additionally, there are no restrictions that prevents sending a Regulator<T> to another thread. Given these two facts, implement Send and Sync. Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com> Link: https://patch.msgid.link/20250729-regulator-send-sync-v1-2-8bcbd546b940@collabora.com Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions