From: Mark Brown Date: Tue, 12 Aug 2025 11:06:23 +0000 (+0100) Subject: rust: regulator: relax a few constraints on X-Git-Tag: v6.18-rc1~166^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb9bb4c5b521853d29b79197f412c5c533a6483c;p=thirdparty%2Flinux.git rust: regulator: relax a few constraints on Merge series from Daniel Almeida : 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 not to be Send, and as discussed above, it is naturally Sync. --- eb9bb4c5b521853d29b79197f412c5c533a6483c