mtd: Convert list_for_each to entry variant
authorZou Wei <zou_wei@huawei.com>
Tue, 8 Jun 2021 12:34:59 +0000 (20:34 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 11 Jun 2021 19:05:06 +0000 (21:05 +0200)
commit6aa12138cd9aeb01308a3da8b23451dcf7f00d52
tree860eaf0c65518dc3cc71e3aab2c36df269260d33
parent6947ad674944f9e38b229be532a2dddd6a1921ed
mtd: Convert list_for_each to entry variant

convert list_for_each() to list_for_each_entry() where
applicable.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1623155699-61935-1-git-send-email-zou_wei@huawei.com
drivers/mtd/chips/chipreg.c