]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: Use list_for_each_entry_safe
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Mon, 14 Jul 2008 20:38:26 +0000 (22:38 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Mon, 14 Jul 2008 20:38:26 +0000 (22:38 +0200)
commit6a03cd931196673634b58c955d2f9d42da602045
treed1727df64442abd682f95c488e2f3b3e5953325e
parent7650da023eb05426812bbf8999b69dc93fee67ab
i2c: Use list_for_each_entry_safe

Use list_for_each_entry_safe() in i2c_del_adapter() and i2c_del_driver().

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c