Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp590594ima; Wed, 24 Oct 2018 06:18:31 -0700 (PDT) X-Google-Smtp-Source: AJdET5fynaEwRF5n8tPEu2xZSs9BOBzcX4YCF4fXfrVLbAjNp47q0VsoggR/CB01szNwVbgVBLc2 X-Received: by 2002:a62:d206:: with SMTP id c6-v6mr2586427pfg.143.1540387111589; Wed, 24 Oct 2018 06:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540387111; cv=none; d=google.com; s=arc-20160816; b=o7pfMOChOng5YeI5FplshmkQfmURUUNh9EjNzJSabmnaTfSvrv8Evo89GFMSZ6eizt eF/XUhOcoJNVVSS2fU/rxhT8m16cIUL2G6j1MBEWehPD289XCTOLl5JFrDrXC1J57CYy Yh4ZF0r2x6aV2RlovamGYB3/1297/Ry5JTgt9/IJH3PIt+HkF2BJQsuVlVrUYhxrY/Ps CeBDLEBPzLfGxJ4VUu9ODchNXfiDrauNgle80ESsqbZRwSz2OMKODdks9RIBtJlhknGl K7sQc2otLtXPkLRgbrqsSPxCIRYRidE8puUQUInWCdA9vvoWO2dnYLRgoqzpB4Nk4NSe taWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+R2GM/n6AC7ZWCzpcBgSAmYpzdD+yIroTkjiLWoRVdM=; b=MidJ/FrbTnw1HNJpwoLoNMMRGsO/eYK6NgFTCv4q+NuiEJW4AgZPj6+G7cbAuo/e6Y zKqwGrK3GonOjiTar6jOqC+0uXoCDda/QDYji2SZvMjizgkl4RVgddhMsnZ0joS7r9PL O96MH/c9EwqP7G9XDLQvSmhlIKhNMB2D6cipPyOAfIldGh1Ufhqu7pREKoegBPZswTQw ElsqspcU2k8pteZqRoQy+ibx93UzdJYYxUgrKUPCQ4vPvxi+aUo8D2fC2AefAMRiHLhb CVxM8jaO5uf5zJxZdKXnlwyVpjFqiuIcVjz6vbfRXimL/J8Ack4lTaBGjztrebZWhuJa hv/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="b/PoCYs/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18-v6si4922918plj.82.2018.10.24.06.18.15; Wed, 24 Oct 2018 06:18:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="b/PoCYs/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726863AbeJXVpa (ORCPT + 99 others); Wed, 24 Oct 2018 17:45:30 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35662 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbeJXVpa (ORCPT ); Wed, 24 Oct 2018 17:45:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+R2GM/n6AC7ZWCzpcBgSAmYpzdD+yIroTkjiLWoRVdM=; b=b/PoCYs/0MGxLEd98n5ARtCbr XqLrE5nJSzt4EF6s5DSQiWIZpvQUMx6wdP7pS1j52vLk1TxHxdZzbPyjKYkWqslTQBM/48AyNX2JP 8fhwhxND6WvpZ2/AOOrg3nce2+BgaknELGkbOVDhh+MN+/bxu9WqxyJPYP/8CcmT2W2wY=; Received: from [185.7.230.213] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFJ2D-0001Cb-SV; Wed, 24 Oct 2018 13:17:17 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 7BED7440078; Wed, 24 Oct 2018 15:17:16 +0200 (CEST) Date: Wed, 24 Oct 2018 14:17:16 +0100 From: Mark Brown To: Pascal PAILLET-LME Cc: "dmitry.torokhov@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "lee.jones@linaro.org" , "lgirdwood@gmail.com" , "wim@linux-watchdog.org" , "linux@roeck-us.net" , "linux-input@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , "benjamin.gaignard@linaro.org" , "eballetbo@gmail.com" Subject: Re: [PATCH v4 4/8] regulator: stpmic1: add stpmic1 regulator driver Message-ID: <20181024131716.GQ2103@sirena.org.uk> References: <1539853324-29051-1-git-send-email-p.paillet@st.com> <1539853324-29051-5-git-send-email-p.paillet@st.com> <20181019115015.GC5895@sirena.org.uk> <5BD06B96.3080809@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yFH6hwN92mUA4HK5" Content-Disposition: inline In-Reply-To: <5BD06B96.3080809@st.com> X-Cookie: Piece of cake! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yFH6hwN92mUA4HK5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 24, 2018 at 12:54:46PM +0000, Pascal PAILLET-LME wrote: > I'm sorry, I'm not sure to understand. Would you prefer to not register= =20 > regulators that > are not described in the device-tree ? No, I'm saying register all regulators regardless of if they are in the device tree - you shouldn't be looking at the init data at all here, just let the framework match them using of_match. --yFH6hwN92mUA4HK5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlvQcNgACgkQJNaLcl1U h9CvFQf8Czl2zAXmxAqiGUYNP76+JwWwgghhHVahho872+7g8JBFyzQdqgCk0s0L js7GKFtIuTp5nX5zI+RciHNZK2rYjqCJ+WMFm0eLrdSXVjBWcFLh/FlnIGDNDYly gnTcEk3DJQX/fo21bBUAysMBY/e0lYMZZuTIwsYle3I3XIrQFQUfb+EWBdLcV6jJ 2Z4x0bPBSSHIJUVtOaKexxR2WjqP5hBU8IjgfFuzpTG8JTH/OSp2M4MxzSbRBBP5 KCN1SqIWOI1vMUgsx/wagQ9agW9v23CIKy0+k+7zejMbrokDJx2XgPODUbXr6EXp zHXVPpbuRtuAiVJD3XoKwpKEiqVCSw== =sJkh -----END PGP SIGNATURE----- --yFH6hwN92mUA4HK5--