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.comSigned-off-by: Nishanth Menon <nm@ti.com>
Showing
Please register or sign in to comment