]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: wpf: Simplify cast to pipeline structure
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 May 2014 23:35:36 +0000 (20:35 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:55 +0000 (12:44 -0300)
commit67894590d8791eefbbf321ccedf77e6e2ed06a6f
tree19f1ba02751f1a089f21595320bb17cd5f88cb70
parent239bd0345bbc50de2558eeb4692279238a24444a
[media] v4l: vsp1: wpf: Simplify cast to pipeline structure

Use the subdev pointer directly to_vsp1_pipeline() macro instead of
casting from the subdev to the wpf object and back to the subdev.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1_wpf.c