Re: [PATCH v3] rust: regulator: add a bare minimum regulator abstraction

From: Miguel Ojeda
Date: Mon May 19 2025 - 08:00:09 EST


On Mon, May 19, 2025 at 1:54 PM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> I think we should remove it, as it also doesn't have any users at the
> moment. Anyone that needs it should define a custom enum for their
> use-case.

Yeah, it has a similar feeling to `bool` parameters, i.e. whenever an
`Either` is needed, it is likely clearer for readers to have a custom
type instead.

Cheers,
Miguel