]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
axidma: xilinx: Removed _of_ prefix in probe and remove functions
authorSrikanth Thokala <srikanth.thokala@xilinx.com>
Wed, 18 Sep 2013 11:57:31 +0000 (17:27 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Sep 2013 07:40:28 +0000 (09:40 +0200)
Synchronize names with other drivers.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/dma/xilinx/xilinx_axidma.c

index 8a4c3d2b61258fa276ab9d23b9e47565e5ffbb60..ca0b0e2d58d206572b8df56475a5157bba7fd5f9 100644 (file)
@@ -1050,7 +1050,7 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev,
        return 0;
 }
 
-static int xilinx_dma_of_probe(struct platform_device *pdev)
+static int xilinx_dma_probe(struct platform_device *pdev)
 {
        struct xilinx_dma_device *xdev;
        struct device_node *child, *node;
@@ -1131,7 +1131,7 @@ free_chan_resources:
        return ret;
 }
 
-static int xilinx_dma_of_remove(struct platform_device *pdev)
+static int xilinx_dma_remove(struct platform_device *pdev)
 {
        struct xilinx_dma_device *xdev;
 
@@ -1148,17 +1148,17 @@ static const struct of_device_id xilinx_dma_of_ids[] = {
        {}
 };
 
-static struct platform_driver xilinx_dma_of_driver = {
+static struct platform_driver xilinx_dma_driver = {
        .driver = {
                .name = "xilinx-dma",
                .owner = THIS_MODULE,
                .of_match_table = xilinx_dma_of_ids,
        },
-       .probe = xilinx_dma_of_probe,
-       .remove = xilinx_dma_of_remove,
+       .probe = xilinx_dma_probe,
+       .remove = xilinx_dma_remove,
 };
 
-module_platform_driver(xilinx_dma_of_driver);
+module_platform_driver(xilinx_dma_driver);
 
 MODULE_AUTHOR("Xilinx, Inc.");
 MODULE_DESCRIPTION("Xilinx DMA driver");