]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
vdmatest: xilinx: Removed _of_ prefix in probe and remove functions
authorSrikanth Thokala <srikanth.thokala@xilinx.com>
Fri, 13 Dec 2013 09:07:43 +0000 (14:37 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 13 Dec 2013 10:22:06 +0000 (11:22 +0100)
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/vdmatest.c

index 8c80839ad62b1bb14fe70e5a63cfb5092cf245cd..c616392bec9fe78d2c5a4d80c063bdd87b481141 100644 (file)
@@ -552,7 +552,7 @@ static int xilinx_vdmatest_add_slave_channels(struct dma_chan *tx_chan,
        return 0;
 }
 
-static int xilinx_vdmatest_of_probe(struct platform_device *pdev)
+static int xilinx_vdmatest_probe(struct platform_device *pdev)
 {
        struct dma_chan *chan, *rx_chan;
        int err;
@@ -592,7 +592,7 @@ free_tx:
        return err;
 }
 
-static int xilinx_vdmatest_of_remove(struct platform_device *pdev)
+static int xilinx_vdmatest_remove(struct platform_device *pdev)
 {
        struct xilinx_vdmatest_chan *dtc, *_dtc;
        struct dma_chan *chan;
@@ -613,17 +613,17 @@ static const struct of_device_id xilinx_vdmatest_of_ids[] = {
        {}
 };
 
-static struct platform_driver xilinx_vdmatest_of_driver = {
+static struct platform_driver xilinx_vdmatest_driver = {
        .driver = {
                .name = "xilinx_vdmatest",
                .owner = THIS_MODULE,
                .of_match_table = xilinx_vdmatest_of_ids,
        },
-       .probe = xilinx_vdmatest_of_probe,
-       .remove = xilinx_vdmatest_of_remove,
+       .probe = xilinx_vdmatest_probe,
+       .remove = xilinx_vdmatest_remove,
 };
 
-module_platform_driver(xilinx_vdmatest_of_driver);
+module_platform_driver(xilinx_vdmatest_driver);
 
 MODULE_AUTHOR("Xilinx, Inc.");
 MODULE_DESCRIPTION("Xilinx AXI VDMA Test Client");