Re: [PATCH RFC] regulator: mt6380: Fix unused array warning

From: Mark Brown
Date: Wed Jul 27 2022 - 08:25:04 EST


On Wed, Jul 27, 2022 at 02:08:09PM +0200, Jean Delvare wrote:
> On Wed, 27 Jul 2022 13:01:29 +0100, Mark Brown wrote:

> > It's helpful to keep the build coverage high.

> OF does not depend on the architecture, anyone can enable it. So I
> can't see any problem of coverage with making drivers depend on OF.

It still reduces a barrier to entry. It's also that it's easier to just
prefer the conditional compilation pattern rather than either check to
see which cases is needed or have people copy an example that doesn't
use it when they should.

Attachment: signature.asc
Description: PGP signature