media: camss: vfe: Fix to_vfe() macro member name
authorTodor Tomov <todor.tomov@linaro.org>
Wed, 25 Jul 2018 16:38:21 +0000 (12:38 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 2 Aug 2018 10:14:23 +0000 (06:14 -0400)
Use the member name which is "line" instead of the pointer argument.

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

index 256dc2d..51ad3f8 100644 (file)
@@ -30,7 +30,7 @@
        ((const struct vfe_line (*)[]) &(ptr_line[-(ptr_line->id)]))
 
 #define to_vfe(ptr_line)       \
-       container_of(vfe_line_array(ptr_line), struct vfe_device, ptr_line)
+       container_of(vfe_line_array(ptr_line), struct vfe_device, line)
 
 #define VFE_0_HW_VERSION               0x000