mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
firmware: ti_sci: Use list_for_each_entry() helper
Convert list_for_each() to list_for_each_entry() so that the p list_head pointer and list_entry() call are no longer needed, which can reduce a few lines of code. No functional changed. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Link: https://lore.kernel.org/r/20230830090344.528818-1-ruanjinjie@huawei.com Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
parent
0bb80ecc33
commit
be6d43efb1
1 changed files with 2 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue