Re: [PATCH v6 0/2] Add a bare-minimum Regulator abstraction

From: Daniel Almeida
Date: Tue Jul 01 2025 - 11:36:45 EST


Mark,

Is it ok for the abstraction to only be built when CONFIG_REGULATOR=y? This
means that any Rust drivers using it have to depend on CONFIG_REGULATOR too.

I thought this was acceptable, but apparently that is not the case? See this
comment from Rob Herring [0].

-- Daniel

[0] https://lore.kernel.org/rust-for-linux/a1b3561d-f5de-4474-85ef-1525a6c36bc5@xxxxxxx/T/#mdf9d4005ee99929d0009ccc988efbc0789164b6d