[media] v4l: ti-vpe: Rename csc memory resource name
authorArchit Taneja <archit@ti.com>
Thu, 13 Mar 2014 11:44:10 +0000 (08:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 17:33:17 +0000 (14:33 -0300)
Rename the memory block resource "vpe_csc" to "csc" since it also exists within
the VIP IP block. This would make the name more generic, and both VPE and VIP DT
nodes in the future can use it.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/ti-vpe/csc.c

index 3374e04..940df40 100644 (file)
@@ -180,7 +180,7 @@ struct csc_data *csc_create(struct platform_device *pdev)
        csc->pdev = pdev;
 
        csc->res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
-                       "vpe_csc");
+                       "csc");
        if (csc->res == NULL) {
                dev_err(&pdev->dev, "missing platform resources data\n");
                return ERR_PTR(-ENODEV);