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)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:30 +0000 (09:24 +0900)
commit2455d50e9168b6f9b5b6d57df9c8902b95ff5ffe
tree1b918ef2edcd04d0a56a672cf34d61af22a0fbda
parentb32d196c7771aa3d70cf6956d67affca6b237893
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>
(cherry picked from commit 5aeb01adbea81e858318072097d98fc44578c7be)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/media/platform/vsp1/vsp1_wpf.c