media: v4l: fwnode: Call CSI2 bus csi2, not csi
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 20 Feb 2017 10:42:09 +0000 (05:42 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:31:07 +0000 (15:31 -0400)
The function to parse CSI2 bus parameters was called
v4l2_fwnode_endpoint_parse_csi_bus(), rename it as
v4l2_fwnode_endpoint_parse_csi2_bus() in anticipation of CSI1/CCP2
support.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-fwnode.c

index 153c53ca3925fd6f4e1a66431036047662937113..8df26010d0063e93629bfde97664d9494170a74a 100644 (file)
@@ -28,8 +28,8 @@
 
 #include <media/v4l2-fwnode.h>
 
-static int v4l2_fwnode_endpoint_parse_csi_bus(struct fwnode_handle *fwnode,
-                                             struct v4l2_fwnode_endpoint *vep)
+static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode,
+                                              struct v4l2_fwnode_endpoint *vep)
 {
        struct v4l2_fwnode_bus_mipi_csi2 *bus = &vep->bus.mipi_csi2;
        bool have_clk_lane = false;
@@ -176,7 +176,7 @@ int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode,
        memset(&vep->bus_type, 0, sizeof(*vep) -
               offsetof(typeof(*vep), bus_type));
 
-       rval = v4l2_fwnode_endpoint_parse_csi_bus(fwnode, vep);
+       rval = v4l2_fwnode_endpoint_parse_csi2_bus(fwnode, vep);
        if (rval)
                return rval;
        /*