diff options
author | Mark Brown <broonie@kernel.org> | 2025-08-12 12:06:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-08-12 12:06:23 +0100 |
commit | eb9bb4c5b521853d29b79197f412c5c533a6483c (patch) | |
tree | c6a6780fce7fa4ce5639b0dc38646f91a80f04bf /tools/docs/parse-headers.py | |
parent | eccd3d9753d48cc3e873eeda5b0e271454aa08ac (diff) | |
parent | 9a200cbdb54349909a42b45379e792e4b39dd223 (diff) |
rust: regulator: relax a few constraints on
Merge series from Daniel Almeida <daniel.almeida@collabora.com>:
This series implement two related changes to address a bit of an oversight
on my end on the initial patch for the Regulator abstraction. Note that
this is not a fix, as it just relaxes the constraints on the previous code
as it is safe to do so.
Patch 1 removes some needless &mut self for functions that already provide
their own locking on the C side.
Patch 2 implements Send and Sync. In particular, there is no reason for
Regulator<T> not to be Send, and as discussed above, it is naturally Sync.
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions