Re: [PATCH v3] rust: regulator: add a bare minimum regulator abstraction
From: Mark Brown
Date: Mon May 19 2025 - 05:57:00 EST
On Sun, May 18, 2025 at 09:51:33PM +0900, Alexandre Courbot wrote:
> On Sun May 18, 2025 at 9:20 PM JST, Mark Brown wrote:
> > It's so that if you have multiple logical users within the device (eg,
> > an interrupt handler and code for normal operation) they can work
> > independently of each other. You could also request the regulator
> > multiple times but that's often not idiomatic.
> I guess this means that we want to preserve this use-case with Rust as
> well?
Perhaps. It might be that the multiple requests approach is more
idiomatic in rust than it is un C.
Attachment:
signature.asc
Description: PGP signature