From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Wed, 18 Jan 2012 14:43:28 -0600 Subject: [U-Boot] [PATCH 1/3] i2c: add i2c_core and prepare for new multibus support In-Reply-To: <201201181541.42710.vapier@gentoo.org> References: <1326784345-19953-1-git-send-email-sjg@chromium.org> <1326784345-19953-2-git-send-email-sjg@chromium.org> <201201181541.42710.vapier@gentoo.org> Message-ID: <4F172EF0.3040408@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mike Frysinger wrote: > that's only needed if you expect the pointer to stay valid across calls. i > don't think it does for most (all?) drivers. True, but it's hard to know sometimes when it's needed. I do it in my code just to be sure. Regardless, I still think the idea of a "current" i2c bus is flawed. -- Timur Tabi Linux kernel developer at Freescale