Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752586Ab3FYKfs (ORCPT ); Tue, 25 Jun 2013 06:35:48 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:52539 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588Ab3FYKfr (ORCPT ); Tue, 25 Jun 2013 06:35:47 -0400 Date: Tue, 25 Jun 2013 11:35:43 +0100 From: Mark Brown To: Guennadi Liakhovetski Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Magnus Damm , linux-sh@vger.kernel.org Message-ID: <20130625103543.GC27646@sirena.org.uk> References: <20130621144423.GX27646@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ddcd+dsiJrvLd0CP" Content-Disposition: inline In-Reply-To: X-Cookie: You will contract a rare disease. User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 94.175.92.69 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 2/2] regulators: max8973: initial DT support X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on cassiel.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1980 Lines: 49 --ddcd+dsiJrvLd0CP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 21, 2013 at 04:52:28PM +0200, Guennadi Liakhovetski wrote: > On Fri, 21 Jun 2013, Mark Brown wrote: > > A common approach here is just to embed the platform data in the > > driver data then copy actual platform data in there or parse the device > > tree bindings (when added) into the structure. This means that most of > > the driver can just assume there's platform data which makes life a bit > > simpler. > But we can do this later, when we add DT support for those parameters,=20 > right? Sure, but it does make sense to structure the code that way from the start since it provides simplification. --ddcd+dsiJrvLd0CP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJRyXJ8AAoJELSic+t+oim9RUAP/2GjlMq75wMmvlCJnA7z4rt3 HRkeGxxcG2mSQs/YnHlrEHVk7ApriF+VE+89zCAFF/jGgJusFNHZt5XLH6at7QUU r5KZpkP+LHYJip8SKd7XlbeGeVJ5k1y3IithYquW5+xFIYN73jPKeVBcH5JVCqUi nlxAOr5T6XQleRcHUzKKPRtteGet+l8+b4IlORkHp/cm1dw4LYbdc+LOqbnQW82y QzQZF6TYYh1IiW9DK1dIXzA+qCkQiBb2VljdgFuuVLJQT/nroC2OThAr/ISS0JpQ NjCJC3lz1SfNBCw7w9YNvDLECwb070LputeCfYc2rjSRaB+xfi1mMV62u1HROZsH 9X9Mzg/uT+IIldLoM2gAqikWr8AFQfuRYFnnMy/cimKzN2vwZaTDcRVlqCB+yhth fqO82ZqHi08z+Vdn8L4VPRgQes1M2bbaK9pz2oYqX4AoN0BvTiXw7AGuzKHLu2xM +1xd5DMAnxBDCbpACT3jmhiymx9Ot2hETcgjL/rv9tYu8LxzsQa11Uq7abRkf3/i WpiW+TOdJc967Za8KUxJxlnGf2oo4bMc8mlk6Bu//xu7pabPyJ1aa5JfILj+XAHg oSA3Z/FU+/k2+fbck6NgM7YYBwVX7NoU1ueypkP2WDD0Zuuxsxsyx5N2v1Gg9TAt P4FjPL9blGHEaBPOrhK0 =RCRD -----END PGP SIGNATURE----- --ddcd+dsiJrvLd0CP-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/