Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757601Ab3GLLBA (ORCPT ); Fri, 12 Jul 2013 07:01:00 -0400 Received: from sauhun.de ([89.238.76.85]:47524 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757344Ab3GLLA6 (ORCPT ); Fri, 12 Jul 2013 07:00:58 -0400 Date: Fri, 12 Jul 2013 12:00:47 +0100 From: Wolfram Sang To: Andy Shevchenko Cc: Mark Brown , Bin Gao , linux-i2c@vger.kernel.org, "linux-kernel@vger.kernel.org" , Laurent Pinchart Subject: Re: i2c: introduce i2c helper i2c_find_client_by_name() Message-ID: <20130712110047.GA3135@katana> References: <20130606183346.GA13259@bingao-desk1.fm.intel.com> <20130705195512.GJ27646@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1966 Lines: 47 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Briefly looking into ACPI tables we have and mechanisms that we can > use in ACPI case, I doubt we may apply all the ideas, probably some of > them, though I didn't get yet where to read about in details. What I > could say now is that the patch provided by Bin Gao is definitely no > go. Laurent explained to me what V4L did and now does. It used to be the way tha V4L drivers did register I2C slaves according to platform_data. Now, with DT the slaves get instanciated earlier, so they now use notifiers to know when the slaves are in place. Something like this should probably be done here, too, instead of unregistering and re-registering. --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJR3+HfAAoJEBQN5MwUoCm2bmAQALGb3HN11Xjr8sv4ubKOqJIE E/2fc0dC1wwqfeOn7q3quqaxmeUqpelWGDyigkLkELfOuiopFDNRHdskD67cvziG cXhy8Ll3fTY3A62u001r8L70eFpSbfKlaHd5lSiFI8jLP0zHihc/blmE0L8LHiOb mKxulbv6+l3FdueIvTbRuwaA+CDvkLLOoewFN7w6cxasP1ncqL9UcFHxjPSxSZ4P dKBMTtqi//2gKugU0LTYT6Y0tG++qieeTUNppZDldpfZaktAxVdsEahVid8x8dbj gUObr8wFgwyV5sZVcrNgXgomBwGdm7pWe2hZTholQnW6asglw0KT0WuuK24ZnBaH 4b+18zGclNw0oH1Se0s49KxCf5yAc2IWEPUSDMGE7axiuu1OgPY07fT4yO4VTEGh jgeCmIpcomrdOAeUPFNGNVC5O+GxWhvsppCGc1MF7rm6IdGCIx0HCat++xU6FkNz pswxwMsE9rrG4hCsX1Y5gwGH2DArXl5VCwJWeoNYlJez9AEkDg02RwS/KSS+1p77 45b5HiSLJKSVrWPvfsMDMj+NSFkX9q4MhIaD31AP2r4DWjkRUuqbv7o0xJ2tVCtl Oe/7C0+E/T3dLFnxyPI41nKAhXcOLyKR4mzrKt2X2x34kq+QQCmN0GcP7btQwrZF KQuq8WIURVmLlmZ8jBhS =uyrr -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- -- 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/