media: camss: vfe: Get line pointer as container of video_out
authorTodor Tomov <todor.tomov@linaro.org>
Wed, 25 Jul 2018 16:38:22 +0000 (12:38 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 2 Aug 2018 10:15:55 +0000 (06:15 -0400)
commita93e5f4fc8dfecd15df51ae176a77ce5b0db82b1
tree50dd5031dbfc8921c1f8eb52dff05749495cf8e6
parentc9896b655177892cfaed2c0910fd55f44772ecad
media: camss: vfe: Get line pointer as container of video_out

Simplify getting of the line pointer by using the container_of
macro instead of traversing media controller links.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/qcom/camss/camss-vfe.c