Searched hist:"1520081 a785a7d1609541b53a3d0f6494f829cc2" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | modedb.c | diff 1520081a785a7d1609541b53a3d0f6494f829cc2 Wed Aug 23 02:21:49 CDT 2023 Jinjie Ruan <ruanjinjie@huawei.com> fbdev/core: Use list_for_each_entry() helper
Convert list_for_each() to list_for_each_entry() so that the pos 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> Signed-off-by: Helge Deller <deller@gmx.de>
|
H A D | fbsysfs.c | diff 1520081a785a7d1609541b53a3d0f6494f829cc2 Wed Aug 23 02:21:49 CDT 2023 Jinjie Ruan <ruanjinjie@huawei.com> fbdev/core: Use list_for_each_entry() helper
Convert list_for_each() to list_for_each_entry() so that the pos 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> Signed-off-by: Helge Deller <deller@gmx.de>
|