Driver core: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init
authorDenis Cheng <crquan@gmail.com>
Wed, 5 Dec 2007 18:24:40 +0000 (02:24 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:41 +0000 (20:40 -0800)
commitdb1118a460c7bfd20278955cbf56c0b283a9701f
tree80b3f5f86b73bd30b32d3df711dd2345bbadcdfa
parent44bfe16e1083d66f97a5289e359c52ee2c8b19a7
Driver core: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init

LIST_HEAD has been widely used, so switch to this simpler method.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/attribute_container.c
drivers/base/base.h
drivers/base/init.c