ASoC: fsl: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:08 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:08 +0000 (16:22 +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>
19 files changed:
sound/soc/fsl/eukrea-tlv320.c
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/fsl_esai.c
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_spdif.c
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/imx-audmux.c
sound/soc/fsl/imx-mc13783.c
sound/soc/fsl/imx-sgtl5000.c
sound/soc/fsl/imx-spdif.c
sound/soc/fsl/imx-ssi.c
sound/soc/fsl/imx-wm8962.c
sound/soc/fsl/mpc5200_psc_ac97.c
sound/soc/fsl/mpc5200_psc_i2s.c
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/fsl/mx27vis-aic32x4.c
sound/soc/fsl/p1022_ds.c
sound/soc/fsl/p1022_rdk.c
sound/soc/fsl/pcm030-audio-fabric.c

index eb093d5b85c4cce3f0bf10616aeb1fcc61f859e9..daf1181fb1cb74f4a80304b07b0bce861125d970 100644 (file)
@@ -239,7 +239,6 @@ MODULE_DEVICE_TABLE(of, imx_tlv320_dt_ids);
 static struct platform_driver eukrea_tlv320_driver = {
        .driver = {
                .name = "eukrea_tlv320",
-               .owner = THIS_MODULE,
                .of_match_table = imx_tlv320_dt_ids,
        },
        .probe = eukrea_tlv320_probe,
index a609aafc994d109d8116d83110780c39769c99be..986089f458057249b0e05776185db6030005eef4 100644 (file)
@@ -971,7 +971,6 @@ MODULE_DEVICE_TABLE(of, fsl_soc_dma_ids);
 static struct platform_driver fsl_soc_dma_driver = {
        .driver = {
                .name = "fsl-pcm-audio",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_soc_dma_ids,
        },
        .probe = fsl_soc_dma_probe,
index 8bcdfda09d7ad9c5fd724cc685e63f3ac7829f77..0bc78bd02a254b7a53bbdad7f8a55881cb113d47 100644 (file)
@@ -855,7 +855,6 @@ static struct platform_driver fsl_esai_driver = {
        .probe = fsl_esai_probe,
        .driver = {
                .name = "fsl-esai-dai",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_esai_dt_ids,
        },
 };
index 7eeb1dd8ce27339e05305552aa7f3cc34240ca29..032d2d33619c20be9aa9d63c807a238af26417b6 100644 (file)
@@ -678,7 +678,6 @@ static struct platform_driver fsl_sai_driver = {
        .probe = fsl_sai_probe,
        .driver = {
                .name = "fsl-sai",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_sai_ids,
        },
 };
index 9b791621294cf6d2f1c1059df8d3de9ce2634639..af0429421fc8b4997874777acf58950908ec317f 100644 (file)
@@ -1283,7 +1283,6 @@ MODULE_DEVICE_TABLE(of, fsl_spdif_dt_ids);
 static struct platform_driver fsl_spdif_driver = {
        .driver = {
                .name = "fsl-spdif-dai",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_spdif_dt_ids,
        },
        .probe = fsl_spdif_probe,
index e6955170dc42c8b805d6aa654a5eadebc437b27e..ab05262deaf8cd00bebe8930f5394636d8da9020 100644 (file)
@@ -1489,7 +1489,6 @@ static int fsl_ssi_remove(struct platform_device *pdev)
 static struct platform_driver fsl_ssi_driver = {
        .driver = {
                .name = "fsl-ssi-dai",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_ssi_ids,
        },
        .probe = fsl_ssi_probe,
index 46f9beb6b273b634f445eecd2019df5a673e05af..d9050d946ae747894ee73c1184791d4ed1dc0b74 100644 (file)
@@ -356,7 +356,6 @@ static struct platform_driver imx_audmux_driver = {
        .id_table       = imx_audmux_ids,
        .driver = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = imx_audmux_dt_ids,
        }
 };
index a2fd7321b5a9a1bbd321f756af14fd9f071a372f..6bf5bce01a92124cbf8e84eeb67157fa8727a0f4 100644 (file)
@@ -159,7 +159,6 @@ static int imx_mc13783_remove(struct platform_device *pdev)
 static struct platform_driver imx_mc13783_audio_driver = {
        .driver = {
                .name = "imx_mc13783",
-               .owner = THIS_MODULE,
        },
        .probe = imx_mc13783_probe,
        .remove = imx_mc13783_remove
index 1cb22dd034eb63e98ac7e60e6d3ce5f719227db4..413a771b8bbd6859df284190b80b87cd3e7634ae 100644 (file)
@@ -202,7 +202,6 @@ MODULE_DEVICE_TABLE(of, imx_sgtl5000_dt_ids);
 static struct platform_driver imx_sgtl5000_driver = {
        .driver = {
                .name = "imx-sgtl5000",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = imx_sgtl5000_dt_ids,
        },
index e1dc40143600a05854331a539590603d0d859fed..9d0bb6bf1b7b9f6c88b6fdd956ee1aa196b7c620 100644 (file)
@@ -89,7 +89,6 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids);
 static struct platform_driver imx_spdif_driver = {
        .driver = {
                .name = "imx-spdif",
-               .owner = THIS_MODULE,
                .of_match_table = imx_spdif_dt_ids,
        },
        .probe = imx_spdif_audio_probe,
index ab2fdd76b693a28aacbcef5aa0edf8aded9727e5..44313e47e254c5a47ae06393e525a9c122e427d2 100644 (file)
@@ -647,7 +647,6 @@ static struct platform_driver imx_ssi_driver = {
 
        .driver = {
                .name = "imx-ssi",
-               .owner = THIS_MODULE,
        },
 };
 
index 3a3d17ce6ba40feea5dc6582693d7c1ee846ef13..2cebcb1641ba4ce333a91f05c8246900479d57be 100644 (file)
@@ -309,7 +309,6 @@ MODULE_DEVICE_TABLE(of, imx_wm8962_dt_ids);
 static struct platform_driver imx_wm8962_driver = {
        .driver = {
                .name = "imx-wm8962",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = imx_wm8962_dt_ids,
        },
index 24eafa2cfbf4d78dac4aed28faa20d38ac352184..9c1a2c09b8c7de08ea7d8ab0d10beb772594f717 100644 (file)
@@ -340,7 +340,6 @@ static struct platform_driver psc_ac97_driver = {
        .remove = psc_ac97_of_remove,
        .driver = {
                .name = "mpc5200-psc-ac97",
-               .owner = THIS_MODULE,
                .of_match_table = psc_ac97_match,
        },
 };
index 5d07e8a74a21d9ab80f4e8f8eaf65cd26e448c19..51fb0c00fe737d757da59a594ee3f125f776a022 100644 (file)
@@ -229,7 +229,6 @@ static struct platform_driver psc_i2s_driver = {
        .remove = psc_i2s_of_remove,
        .driver = {
                .name = "mpc5200-psc-i2s",
-               .owner = THIS_MODULE,
                .of_match_table = psc_i2s_match,
        },
 };
index fa756d05b2f716e671ce208b99867ae03cc384ea..9621b9140df6c086a5984417c89ccf18dbd2d9c8 100644 (file)
@@ -389,7 +389,6 @@ static struct platform_driver mpc8610_hpcd_driver = {
                 * in lowercase letters.
                 */
                .name = "snd-soc-mpc8610hpcd",
-               .owner = THIS_MODULE,
        },
 };
 
index f4c3bda5e69e1637936735a2278fcbf6471d2c4d..b1ced7b8d80c472be45f1d578c622db1f07275fa 100644 (file)
@@ -229,7 +229,6 @@ static int mx27vis_aic32x4_remove(struct platform_device *pdev)
 static struct platform_driver mx27vis_aic32x4_audio_driver = {
        .driver = {
                .name = "mx27vis",
-               .owner = THIS_MODULE,
        },
        .probe = mx27vis_aic32x4_probe,
        .remove = mx27vis_aic32x4_remove,
index f75c3cf0e6de9de5d4d0f34ded20cf6edbfa045b..71c1a7dc3aebae976f18ba42ac355357f554a26c 100644 (file)
@@ -398,7 +398,6 @@ static struct platform_driver p1022_ds_driver = {
                 * in lowercase letters.
                 */
                .name = "snd-soc-p1022ds",
-               .owner = THIS_MODULE,
        },
 };
 
index 9d89bb028621b12ba1f5df6c6036d9859e192323..ee29048424bec44ca5fde090d60f4a69babfcc6c 100644 (file)
@@ -348,7 +348,6 @@ static struct platform_driver p1022_rdk_driver = {
                 * in lowercase letters.
                 */
                .name = "snd-soc-p1022rdk",
-               .owner = THIS_MODULE,
        },
 };
 
index 3665f612819d4bd2d443b0e7072cf9753ee1905b..c44459d24c50502d12c5ec1e9de86539139a0d3d 100644 (file)
@@ -124,7 +124,6 @@ static struct platform_driver pcm030_fabric_driver = {
        .remove         = pcm030_fabric_remove,
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table    = pcm030_audio_match,
        },
 };