summaryrefslogtreecommitdiff
path: root/rust/helpers/regulator.c
diff options
context:
space:
mode:
authorDaniel Almeida <daniel.almeida@collabora.com>2025-09-10 14:54:31 -0300
committerMark Brown <broonie@kernel.org>2025-09-10 21:02:15 +0100
commitb87ecbc54f22382ace1cf41645e8652a4ce44d52 (patch)
tree0a7dc2d410e4673328c42f4080267baa3aa24420 /rust/helpers/regulator.c
parent5bad16482c2a7e788c042d98f3e97d3b2bbc8cc5 (diff)
rust: regulator: remove Regulator<Dynamic>
After some experimenting and further discussion, it is starting to look like Regulator<Dynamic> might be a footgun. It turns out that one can get the same behavior by correctly using just Regulator<Enabled> and Regulator<Disabled>, so there is no need to directly expose the manual refcounting ability of Regulator<Dynamic> to clients. Remove it while we do not have any other users. Suggested-by: Danilo Krummrich <dakr@kernel.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Danilo Krummrich <dakr@kernel.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com> Link: https://patch.msgid.link/20250910-regulator-remove-dynamic-v3-1-07af4dfa97cc@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions