From: Mark Brown Subject: Re: [PATCH v4 03/14] regulator: of: Add regulator desc param to of_get_regulator_init_data() Date: Mon, 3 Nov 2014 15:33:03 +0000 Message-ID: <20141103153303.GQ3815@sirena.org.uk> References: <1415025649-8119-1-git-send-email-javier.martinez@collabora.co.uk> <1415025649-8119-4-git-send-email-javier.martinez@collabora.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qnK4RqISe3HuYx1/" Return-path: Content-Disposition: inline In-Reply-To: <1415025649-8119-4-git-send-email-javier.martinez@collabora.co.uk> Sender: linux-samsung-soc-owner@vger.kernel.org To: Javier Martinez Canillas Cc: Kukjin Kim , Chanwoo Choi , Olof Johansson , Chris Zhong , Krzysztof Kozlowski , Abhilash Kesavan , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org --qnK4RqISe3HuYx1/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 03, 2014 at 03:40:38PM +0100, Javier Martinez Canillas wrote: > for_each_child_of_node(nproot, np) { > if (!of_node_cmp(np->name, info->desc.name)) { > config->init_data = > - of_get_regulator_init_data(&pdev->dev, np); > + of_get_regulator_init_data(&pdev->dev, np, > + NULL); This looks buggy, we're not passing in a descriptor. --qnK4RqISe3HuYx1/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUV6AuAAoJECTWi3JdVIfQCmwH/AgbbttynX5wQL+PwQy7+ikW 5eBVFddcX9UMx/+3NuqH314aI1nXfReiYr7kh2WXDDtNjs+JImV9FInSwmOdZUcL IkDPt3PmEy4L671HAKaLm9V1kN1hIE04zny1NPfEz3r/i0f1jfRaDo2AXMwSRvE4 mPR39+td+dzytss0AhrlAAgMYRsH4FjavyqbyLYtO9lJnJIHQfhCRaXy6rhEXdc4 G6Dy5ecQ/HXDcimu8aL3bYFu6ptlkeiZS8b82P22K+U5gBduAMBwpTFTw0JzDVwd G+a27pEXvNzu52L1erBsLRM6Ujm630yz6jyQlhKnBV9Xxaq6D+CP9X39PZkAkVk= =yNTJ -----END PGP SIGNATURE----- --qnK4RqISe3HuYx1/--