dma: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:28 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:28 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
23 files changed:
drivers/dma/bcm2835-dma.c
drivers/dma/cppi41.c
drivers/dma/dma-jz4740.c
drivers/dma/edma.c
drivers/dma/fsl-edma.c
drivers/dma/fsldma.c
drivers/dma/imx-dma.c
drivers/dma/iop-adma.c
drivers/dma/k3dma.c
drivers/dma/mmp_pdma.c
drivers/dma/mmp_tdma.c
drivers/dma/moxart-dma.c
drivers/dma/mpc512x_dma.c
drivers/dma/mv_xor.c
drivers/dma/nbpfaxi.c
drivers/dma/omap-dma.c
drivers/dma/qcom_bam_dma.c
drivers/dma/s3c24xx-dma.c
drivers/dma/sa11x0-dma.c
drivers/dma/sirf-dma.c
drivers/dma/ste_dma40.c
drivers/dma/tegra20-apb-dma.c
drivers/dma/timb_dma.c

index 68007974961a5ee63087c07cf7833404b09b7d49..815dbdfdb19534d3fe9b695dd19480269efc3cb4 100644 (file)
@@ -694,7 +694,6 @@ static struct platform_driver bcm2835_dma_driver = {
        .remove = bcm2835_dma_remove,
        .driver = {
                .name = "bcm2835-dma",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(bcm2835_dma_of_match),
        },
 };
index a58eec3b2cad0d0ac5af88a9900dd79d633e8e5a..cf7633f6d474e44650416c81fdcd0a752c342548 100644 (file)
@@ -1088,7 +1088,6 @@ static struct platform_driver cpp41_dma_driver = {
        .remove = cppi41_dma_remove,
        .driver = {
                .name = "cppi41-dma-engine",
-               .owner = THIS_MODULE,
                .pm = &cppi41_pm_ops,
                .of_match_table = of_match_ptr(cppi41_dma_ids),
        },
index ae2ab14e64b30e5edf9119569d379766eba24b94..8605ed10c96a7e928ed386f91f322855c6db8969 100644 (file)
@@ -608,7 +608,6 @@ static struct platform_driver jz4740_dma_driver = {
        .remove = jz4740_dma_remove,
        .driver = {
                .name = "jz4740-dma",
-               .owner = THIS_MODULE,
        },
 };
 module_platform_driver(jz4740_dma_driver);
index 123f578d6dd3b82d37887182fc092937c40e59d4..fd455979cc9f8ca81e75f27ca1a0af76b3d35f32 100644 (file)
@@ -1092,7 +1092,6 @@ static struct platform_driver edma_driver = {
        .remove         = edma_remove,
        .driver = {
                .name = "edma-dma-engine",
-               .owner = THIS_MODULE,
        },
 };
 
index 3c5711d5fe97c99a71c1504cd6d7e174ea27bf32..a38e5d24db0dff3d3d572e3b17d056f777eb8587 100644 (file)
@@ -963,7 +963,6 @@ MODULE_DEVICE_TABLE(of, fsl_edma_dt_ids);
 static struct platform_driver fsl_edma_driver = {
        .driver         = {
                .name   = "fsl-edma",
-               .owner  = THIS_MODULE,
                .of_match_table = fsl_edma_dt_ids,
        },
        .probe          = fsl_edma_probe,
index 994bcb2c6b92ceb44edcb643300e879003455db8..de3da031ff1890ba028b31101e9b7c60f9ba004e 100644 (file)
@@ -1540,7 +1540,6 @@ static const struct of_device_id fsldma_of_ids[] = {
 static struct platform_driver fsldma_of_driver = {
        .driver = {
                .name = "fsl-elo-dma",
-               .owner = THIS_MODULE,
                .of_match_table = fsldma_of_ids,
 #ifdef CONFIG_PM
                .pm = &fsldma_pm_ops,
index 9d2c9e7374dcef910d1b444a61b43ce560520dbc..10bbc0a675b07c7c31c9359409babd4809a9ff4e 100644 (file)
@@ -1236,7 +1236,6 @@ static int imxdma_remove(struct platform_device *pdev)
 static struct platform_driver imxdma_driver = {
        .driver         = {
                .name   = "imx-dma",
-               .owner  = THIS_MODULE,
                .of_match_table = imx_dma_of_dev_id,
        },
        .id_table       = imx_dma_devtype,
index c56137bc3868da7cdc43bf38fab53a30ca410430..263d9f6a207e9f5d0ffd6d5059e18c94b067cdf2 100644 (file)
@@ -1557,7 +1557,6 @@ static struct platform_driver iop_adma_driver = {
        .probe          = iop_adma_probe,
        .remove         = iop_adma_remove,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "iop-adma",
        },
 };
index a1f911aaf220e0b107c1009a74edfaca1ff06634..9349021cb74c83bc83195b8c3002a00bc77c26af 100644 (file)
@@ -822,7 +822,6 @@ static SIMPLE_DEV_PM_OPS(k3_dma_pmops, k3_dma_suspend, k3_dma_resume);
 static struct platform_driver k3_pdma_driver = {
        .driver         = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
                .pm     = &k3_dma_pmops,
                .of_match_table = k3_pdma_dt_ids,
        },
index a1a4db5721b84cb905588cf9320cd8af27da0675..8b8952f35e6c90f5f90e8ca8bc54ba280d272662 100644 (file)
@@ -1098,7 +1098,6 @@ static const struct platform_device_id mmp_pdma_id_table[] = {
 static struct platform_driver mmp_pdma_driver = {
        .driver         = {
                .name   = "mmp-pdma",
-               .owner  = THIS_MODULE,
                .of_match_table = mmp_pdma_dt_ids,
        },
        .id_table       = mmp_pdma_id_table,
index c6bd015b7165a0d9b808ed6a6277b1c48b654425..bfb46957c3dcc8c97a723a29b95cb3fe5e395be9 100644 (file)
@@ -703,7 +703,6 @@ static const struct platform_device_id mmp_tdma_id_table[] = {
 static struct platform_driver mmp_tdma_driver = {
        .driver         = {
                .name   = "mmp-tdma",
-               .owner  = THIS_MODULE,
                .of_match_table = mmp_tdma_dt_ids,
        },
        .id_table       = mmp_tdma_id_table,
index 3258e484e4f647777a29ccd5337f120da0370121..53032bac06e07f483389140057c11ad6777d7759 100644 (file)
@@ -677,7 +677,6 @@ static struct platform_driver moxart_driver = {
        .remove = moxart_remove,
        .driver = {
                .name           = "moxart-dma-engine",
-               .owner          = THIS_MODULE,
                .of_match_table = moxart_dma_match,
        },
 };
index 881db2bcb48b89cb1b3896dc42da69c65d517347..586d52c864776cf78f31f7ca789587160f2882c0 100644 (file)
@@ -1090,7 +1090,6 @@ static struct platform_driver mpc_dma_driver = {
        .remove         = mpc_dma_remove,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = mpc_dma_match,
        },
 };
index a63837ca14106a9831824af4e2e11a0c5ae44188..d7ac558c2c1c838a599368a4891203aa9cfab536 100644 (file)
@@ -1269,7 +1269,6 @@ static struct platform_driver mv_xor_driver = {
        .probe          = mv_xor_probe,
        .remove         = mv_xor_remove,
        .driver         = {
-               .owner          = THIS_MODULE,
                .name           = MV_XOR_NAME,
                .of_match_table = of_match_ptr(mv_xor_dt_ids),
        },
index 5aeada56a442673d9c07d03ff325cd23c0eeee10..a7a36835a233ef99f7488794d4360e5f6188013a 100644 (file)
@@ -1500,7 +1500,6 @@ static const struct dev_pm_ops nbpf_pm_ops = {
 
 static struct platform_driver nbpf_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "dma-nbpf",
                .of_match_table = nbpf_match,
                .pm = &nbpf_pm_ops,
index bbea8243f9e806a0b0626da6c3336ef644a0dc25..7ff73a2495029768da779f86765ed9192b81305f 100644 (file)
@@ -1233,7 +1233,6 @@ static struct platform_driver omap_dma_driver = {
        .remove = omap_dma_remove,
        .driver = {
                .name = "omap-dma-engine",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(omap_dma_match),
        },
 };
index 7a4bbb0f80a5677161211c90fca6e53bea7c2129..9d7b5542397c55c88806e05356a3cd0a20fbb31a 100644 (file)
@@ -1115,7 +1115,6 @@ static struct platform_driver bam_dma_driver = {
        .remove = bam_dma_remove,
        .driver = {
                .name = "bam-dma-engine",
-               .owner = THIS_MODULE,
                .of_match_table = bam_of_match,
        },
 };
index 7416572d1e4081866baf61c05411159163a109a9..6941a77521c3d895dbe220a1190d8e64a9acf138 100644 (file)
@@ -1402,7 +1402,6 @@ static int s3c24xx_dma_remove(struct platform_device *pdev)
 static struct platform_driver s3c24xx_dma_driver = {
        .driver         = {
                .name   = "s3c24xx-dma",
-               .owner  = THIS_MODULE,
        },
        .id_table       = s3c24xx_dma_driver_ids,
        .probe          = s3c24xx_dma_probe,
index 4b0ef043729a1dc250f53894b58ef2dac31a4f19..94f2be30412ecbd9bba4ddb96cae7ecc823d79bf 100644 (file)
@@ -1064,7 +1064,6 @@ static const struct dev_pm_ops sa11x0_dma_pm_ops = {
 static struct platform_driver sa11x0_dma_driver = {
        .driver = {
                .name   = "sa11x0-dma",
-               .owner  = THIS_MODULE,
                .pm     = &sa11x0_dma_pm_ops,
        },
        .probe          = sa11x0_dma_probe,
index aac03ab10c54809275460aecde286ef9d5742ff9..981880ffe276092ed6f847dcb8daa66ee73b8b59 100644 (file)
@@ -933,7 +933,6 @@ static struct platform_driver sirfsoc_dma_driver = {
        .remove         = sirfsoc_dma_remove,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &sirfsoc_dma_pm_ops,
                .of_match_table = sirfsoc_dma_match,
        },
index 5fe59335e247ef81518a55fff496256009eafbcf..7de218c3ed91830a16abd11ee48fb2f17ae517f9 100644 (file)
@@ -3749,7 +3749,6 @@ static const struct of_device_id d40_match[] = {
 
 static struct platform_driver d40_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name  = D40_NAME,
                .pm = &dma40_pm_ops,
                .of_match_table = d40_match,
index 16efa603ff65da05a2cfae6cc0b1b34f4786b525..a6c0b3f68393507a813ed41c3ea4ca2278fc3bcb 100644 (file)
@@ -1597,7 +1597,6 @@ static const struct dev_pm_ops tegra_dma_dev_pm_ops = {
 static struct platform_driver tegra_dmac_driver = {
        .driver = {
                .name   = "tegra-apbdma",
-               .owner = THIS_MODULE,
                .pm     = &tegra_dma_dev_pm_ops,
                .of_match_table = tegra_dma_of_match,
        },
index 4506a7b4f972319c761ff4ee459a0a38bb7139dd..2407ccf1a64b29583165d9fdb0d5638e4dd6f1de 100644 (file)
@@ -783,7 +783,6 @@ static int td_remove(struct platform_device *pdev)
 static struct platform_driver td_driver = {
        .driver = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe  = td_probe,
        .remove = td_remove,