Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp238818imn; Wed, 27 Jul 2022 05:04:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sV2WAAlsZfojUnhkqtF5/zhHW8xE0eOFGzDa9jaUBR2TbusmZ61gbAlcYeagfw56fI4+oW X-Received: by 2002:a17:907:2d93:b0:72b:60a0:6b2e with SMTP id gt19-20020a1709072d9300b0072b60a06b2emr17211058ejc.487.1658923483158; Wed, 27 Jul 2022 05:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658923483; cv=none; d=google.com; s=arc-20160816; b=Z7uMhbCv693r3TCUihy8lgBkR8k+P2RD5ZG8SEZZgLBiluttyueiwAnaug2mmZs7vi X+aQpi57zmcchlFgQkjb8RxPwnH9HhClPLKzmWLiwDiQIjVD11S73jg5QQo01jAKPOPV /z5Wxg+NU8zbQYZpENCwsYc1WpRVeo+pI+luVHvkjGkVFis6Q7R+bWY0L6UZ7OF6FHDZ cY6LUfQvIst4H8VCicSt0i+zw1DDBWAVOoo1rbMg6a4pMWeHhgKSWJ6D2rdYV2GIg4Zf RAr7sOB7yhNDMOqEjOvdUB0WCGLIi5C1270PsgooDuArrb2SzJ1P+iLjjAXtpt3Pz+yC XNTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hYlfHhZS5nNnBcVpoKvotCjnbGCGmx+c8y6ayFMdDwk=; b=pkakn91bAXBNhofhSz7uamgpitC4W+P48AcBLBOO+hS7Qpod2464i/Fjjt9IWBD3yk IcNI1DaBDt7xbCkNn5AEm1wTF4+AUAaaGo4UyUBWYe7dKwIjoRKGJski07Pm3Rb3QZZp ZPJRUUgSHPB+U6AwSI1F81CTuTi6Q2JOcnYGhRQ7441M7Zitk6S+EGyz4xhJCEVtUizD enKc7hhlumGwVCQ6r9DznnnRnERGZhAfD6oNG4xYENZNfN80FHCOjUtwmDRoDa4uW5st 5AGvqei+LR8wrtDdJYTja5Db0Y3wY0h2UxuhYd6JyWmXmHmq0UoJvTaRN2KgprNP/8xn YKkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iT0ED3Vv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb15-20020a170907960f00b007269f720fb5si18908923ejc.530.2022.07.27.05.04.17; Wed, 27 Jul 2022 05:04:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iT0ED3Vv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232603AbiG0MBl (ORCPT + 99 others); Wed, 27 Jul 2022 08:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiG0MBj (ORCPT ); Wed, 27 Jul 2022 08:01:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7755132BA0 for ; Wed, 27 Jul 2022 05:01:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2A06EB82022 for ; Wed, 27 Jul 2022 12:01:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56EA7C433D7; Wed, 27 Jul 2022 12:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658923295; bh=hYlfHhZS5nNnBcVpoKvotCjnbGCGmx+c8y6ayFMdDwk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iT0ED3VvEOhUC+vzOLgiG8/2jadT5tO51UofTJqMUv46x0EM78C5wafH7nCv51hGy vvz223Yt2nf2bPubccBc5zoBvhYtT3V0C096kYPZGI/wC/UlSSsAq8P098V8V+sLaO sfkeSdGFvL6SCBSH1GI1ZTjLWKoa5FLOyWuZxdpm63EwCpCBWMLyDYmASnZQU+QlJR 9lIvH/HPEmcobJjmAVW0MDN+xUXacnnKh+uQXvwLrlk7E4uW+WOA5iyOwLHY4EUf5Z SYXOAkTtADK2MMpgyIVFvh2n+4R81zBf5+mjqPaopu+I6Am+B5LKWGKswiR9dxFlvw eMJBNnsLRznRg== Date: Wed, 27 Jul 2022 13:01:29 +0100 From: Mark Brown To: Jean Delvare Cc: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Liam Girdwood , Matthias Brugger , Chenglin Xu , Sean Wang Subject: Re: [PATCH RFC] regulator: mt6380: Fix unused array warning Message-ID: References: <20220727132637.76d6073f@endymion.delvare> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+UGA3SVN/7XA5mgj" Content-Disposition: inline In-Reply-To: <20220727132637.76d6073f@endymion.delvare> X-Cookie: No motorized vehicles allowed. X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+UGA3SVN/7XA5mgj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --+UGA3SVN/7XA5mgj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLhKRkACgkQJNaLcl1U h9BSBwf/Y0QxIwkYpaF8CB4xGeqHFOqghj/Dj9sa0aWjIpBsaMkNeNxMHtqRtqeY GZGehdnvw2kccw7982xlwlA/xRLnEnjRjNRuhx7FeudSQSoWqk6JuGvo45f/IkEY ly8kpfFBAw85hdE2CdoM2bLYNDe4R09hlcdmVI5C31/RuzbyVbmm4Kd2DS+AaGwX HYAVDVugwQwi4/aMIsoaXleFVw/ImmCboN5WklrsdQc8iiqeju0t5eJuWy6nzAbk 5a/GeIZ5q1u0QM0XE6jarTqiUuQQ0jsZfIgeQWAC3qmZpy26RcPI5gzKPXJEbjya 8tLdIvzBzB9ZGbc8ijkNHccUyBt8qQ== =FE8f -----END PGP SIGNATURE----- --+UGA3SVN/7XA5mgj--