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

Mark Brown broonie at kernel.org
Wed Jul 27 05:24:35 PDT 2022


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20220727/ab53c86b/attachment.sig>


More information about the Linux-mediatek mailing list