From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933259AbbCXRXo (ORCPT ); Tue, 24 Mar 2015 13:23:44 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:59367 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754758AbbCXRXi (ORCPT ); Tue, 24 Mar 2015 13:23:38 -0400 Date: Tue, 24 Mar 2015 10:23:46 -0700 From: Mark Brown To: Srinivas Kandagatla Cc: linux-arm-kernel@lists.infradead.org, Maxime Ripard , Rob Herring , Pawel Moll , Kumar Gala , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stephen Boyd , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org Message-ID: <20150324172346.GW17265@sirena.org.uk> References: <1426240157-2383-1-git-send-email-srinivas.kandagatla@linaro.org> <1426240214-2434-1-git-send-email-srinivas.kandagatla@linaro.org> <20150323210918.GS14954@sirena.org.uk> <55108E2B.7050305@linaro.org> <55112BD6.2070600@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oNLI4EWr1RPQuPCf" Content-Disposition: inline In-Reply-To: <55112BD6.2070600@linaro.org> X-Cookie: A good memory does not equal pale ink. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 12.104.145.3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v2 1/7] eeprom: Add a simple EEPROM framework for eeprom providers X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oNLI4EWr1RPQuPCf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 24, 2015 at 09:18:14AM +0000, Srinivas Kandagatla wrote: > I did try your suggestion, by which I could remove the regmap from config. > One thing I did not like was eeprom-core getting size/stride info directly > from providers and regmap from regmap apis. I was wondering if we could take > a step further and introduce new regmap helpers like > regmap_get_size(regmap) This is already there. > regmap_get_stride(regmap) > Which would be give eeprom-core the size and stride info, doing this way > would cut down regmap related things from eeprom_config structure to minimal > and also the source of information would come from just regmap apis. Documentation/SubmittingPatches... --oNLI4EWr1RPQuPCf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVEZ2hAAoJECTWi3JdVIfQ80EH/2BOc+yTnqkp0l/jbAggXbi0 vrr0TP4o/37AHzkGBQfqLn+NB3gp7iekx1PmtNkXOXurR2odcyb8pCZ+qv20db7G H0QsmLr7T2RqnhoO1DBFmeltpPu20TuPfpYIjb+jdIgrhMOoVnFZHrUvtnq5W2Ch 3a5Whx0/t6m6oe0LX+0bB/mZghcmeLh1TxUVSri6OMRYOE7GQvieZEooBFji5Hk5 O/BJvSQqsZJOgZcjUYuElKc495ocmwlqFqRYkXsqhHRJN5JeS9YfbQXTz9tQkISu 50n6vQ9lwLfs+mGDzoTNR9l95t5mOZ2dyjST/FXfGQfRMnYWv1HFL2i7xXzh6YE= =WEWy -----END PGP SIGNATURE----- --oNLI4EWr1RPQuPCf--