]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[media] media v4l2-mem2mem: Use list_first_entry
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 31 Aug 2012 12:18:03 +0000 (09:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 Sep 2012 15:14:05 +0000 (12:14 -0300)
commitc392e9e13e398c3ebf37e60942c2ddadbe823880
tree325fbef377a4eb9acb2b4caaa8838f18d621704b
parent961ae44980034f82d037c982e5b2f8258e055d63
[media] media v4l2-mem2mem: Use list_first_entry

Use list_first_entry instead of list_entry which makes the intention
of the code more clear.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-mem2mem.c