spi-topcliff-pch: fix to use list_for_each_entry_safe() when delete list items
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 27 Apr 2013 06:06:00 +0000 (14:06 +0800)
committerMark Brown <broonie@sirena.org.uk>
Sun, 28 Apr 2013 01:18:13 +0000 (02:18 +0100)
Since we will remove items off the list using list_del_init() we need
to use a safe version of the list_for_each_entry() macro aptly named
list_for_each_entry_safe().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>

No differences found