drivers/ide: convert to list_for_each_entry_safe()

Use list_for_each_entry_safe() instead of list_for_each_safe()
to simplify the code.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
chenqiwu 2020-02-14 17:16:25 +08:00 • committed by David S. Miller
commit 6a0033457f