Kobject: Replace list_for_each() with list_for_each_entry().
authorRobert P. J. Day <rpjday@crashcourse.ca>
Thu, 27 Mar 2008 05:13:34 +0000 (01:13 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:27 +0000 (19:10 -0700)
commitc6a2a3dc26da72e431c293d02549593f9c041f63
tree45ea5dcf2c8ae52f99507e941df3aa685fa70356
parentc6f87733823d69a8f12e391688ceeb1ff4922530
Kobject: Replace list_for_each() with list_for_each_entry().

Use the more concise list_for_each_entry(), which allows for the
deletion of the to_kobj() routine at the same time.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c