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

Mark Brown broonie at kernel.org
Wed Jul 27 05:01:29 PDT 2022


On Wed, Jul 27, 2022 at 01:26:37PM +0200, Jean Delvare wrote:

> This assumes that the mt6380 driver can be used without OF support.
> However, I can't find any in-tree piece of code instantiating the
> "mt6380-regulator" platform device by name. So unless there's an
> out-of-tree user, a better fix would be to remove mt6380_platform_ids
> and make the driver depend on OF. Chenglin, would that be OK with
> you?

It's helpful to keep the build coverage high.
-------------- 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/a67b4290/attachment.sig>


More information about the Linux-mediatek mailing list