]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1f0694b4088d72494b5a6def1e0a8b0791062a5
tree45ea5dcf2c8ae52f99507e941df3aa685fa70356
parent76ab594d340dad2ccc4cc90ca992746080955763
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