OSDN Git Service

media: ti-vpe: cal: Use list_first_entry()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 6 Dec 2020 23:53:48 +0000 (00:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 4 Jan 2021 11:09:34 +0000 (12:09 +0100)
commit9ae6b925848eed49f08451c6ee90d9a21ce0a3c9
tree21fd305d0772457a5e86d2d3ddee476567623f15
parentd7d24d772f2c56e32ce8beb1a05a04fe28e4d888
media: ti-vpe: cal: Use list_first_entry()

Use the list_first_entry() macro where appropriate to replace manual
usage of list_entry(head.next).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal-video.c
drivers/media/platform/ti-vpe/cal.c