driver core: bus: use list_for_each_entry*
authorGeliang Tang <geliangtang@163.com>
Tue, 5 Jan 2016 15:03:37 +0000 (23:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2016 01:25:27 +0000 (17:25 -0800)
commit4c62785e670e978294222a42200346f0538e19e7
tree9c4ec160f04d45af3ec20064027860f138728ae4
parent94e1dec7a9c111419fee328cf6f082059d8bd0f8
driver core: bus: use list_for_each_entry*

Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c