i2c: i2c_register_driver() cleanup
authorDavid Brownell <david-b@pacbell.net>
Tue, 1 May 2007 21:26:28 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:28 +0000 (23:26 +0200)
commit4ad4eac60667f7c321faae28a3437f7a8b3d17cb
tree81deece52937d95b078f3efca3f766ae20309d06
parentb31366f4394f7b1e8e1726ba049f294934db4495
i2c: i2c_register_driver() cleanup

Minor cleanup in i2c_register_driver():  use list_for_each_entry().

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c