[i2c] [patch 2.6.21-rc2-git +i2c-patches] i2c_register_driver() cleanup

Jean Delvare khali at linux-fr.org
Tue Mar 6 18:29:28 CET 2007


Hi David,

On Mon, 5 Mar 2007 22:41:52 -0800, David Brownell wrote:
> Minor cleanup in i2c_register_driver():  use list_for_each_entry(),
> minimize scope of lock and scratch variable.
> 
> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> 
> ---
> As previously discussed.  Goes on top of various patches now in Jean's
> I2C queue (#4-6 of a group posted recently).

Applied, thanks. Beware that said patch #6 has been discarded as it was
causing oops in some cases:
http://marc.theaimsgroup.com/?l=linux-kernel&m=117317869812339&w=2

So I had to make a minor edit for this patch to apply, and more
importantly, you should make sure to resynchronize with my current
stack of i2c patches available here before sending your updated patch
series:
http://khali.linux-fr.org/devel/linux-2.6/

Thanks,
-- 
Jean Delvare



More information about the i2c mailing list