]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: samsung: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:13 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:13 +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>
20 files changed:
sound/soc/samsung/ac97.c
sound/soc/samsung/bells.c
sound/soc/samsung/i2s.c
sound/soc/samsung/idma.c
sound/soc/samsung/littlemill.c
sound/soc/samsung/lowland.c
sound/soc/samsung/odroidx2_max98090.c
sound/soc/samsung/pcm.c
sound/soc/samsung/s3c2412-i2s.c
sound/soc/samsung/s3c24xx-i2s.c
sound/soc/samsung/s3c24xx_simtec_hermes.c
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
sound/soc/samsung/s3c24xx_uda134x.c
sound/soc/samsung/smdk_wm8580pcm.c
sound/soc/samsung/smdk_wm8994.c
sound/soc/samsung/smdk_wm8994pcm.c
sound/soc/samsung/snow.c
sound/soc/samsung/spdif.c
sound/soc/samsung/speyside.c
sound/soc/samsung/tobermory.c

index e1615113fd84f0558e93975ed2b9933e03f40683..cb9dd57814edf86201bd2a84315e1316139b9651 100644 (file)
@@ -442,7 +442,6 @@ static struct platform_driver s3c_ac97_driver = {
        .remove = s3c_ac97_remove,
        .driver = {
                .name = "samsung-ac97",
-               .owner = THIS_MODULE,
        },
 };
 
index 5b21207cf551f5ee4b4c4f75d0ba18a71c4d60e4..e5f05e62fa3c11f4fd3bf7f2465f353dd2b863c4 100644 (file)
@@ -445,7 +445,6 @@ static int bells_probe(struct platform_device *pdev)
 static struct platform_driver bells_driver = {
        .driver = {
                .name = "bells",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bells_probe,
index 9d513473b3007c0c3e022ca6927e29071dfb6db6..2e7097429bee9839d207e2837cc37bf60d76e7d9 100644 (file)
@@ -1366,7 +1366,6 @@ static struct platform_driver samsung_i2s_driver = {
        .id_table = samsung_i2s_driver_ids,
        .driver = {
                .name = "samsung-i2s",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(exynos_i2s_match),
                .pm = &samsung_i2s_pm,
        },
index 0e8dd985fcb315dab9bf293c8d7ee4dea0b9b34e..4ed29ffc1c54e5f0bdff27eafb5cb35c80b15afe 100644 (file)
@@ -418,7 +418,6 @@ static int asoc_idma_platform_probe(struct platform_device *pdev)
 static struct platform_driver asoc_idma_driver = {
        .driver = {
                .name = "samsung-idma",
-               .owner = THIS_MODULE,
        },
 
        .probe = asoc_idma_platform_probe,
index 840787e63cb1847954f87e1da6d07841215b28d6..141519c21e21d7cbd425cb7b9a6d306278cabdf0 100644 (file)
@@ -315,7 +315,6 @@ static int littlemill_probe(struct platform_device *pdev)
 static struct platform_driver littlemill_driver = {
        .driver = {
                .name = "littlemill",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = littlemill_probe,
index bd5f0d643a8637436c9e46ff117882b810ec48c8..243dea7ba38f81c7890ebea9af815cc80664111f 100644 (file)
@@ -198,7 +198,6 @@ static int lowland_probe(struct platform_device *pdev)
 static struct platform_driver lowland_driver = {
        .driver = {
                .name = "lowland",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = lowland_probe,
index 3c8f60423e825d401e659e459afed3f00642799a..1d3c3af5886e307798e0d9d37f3703e03bda66fa 100644 (file)
@@ -162,7 +162,6 @@ static int odroidx2_audio_remove(struct platform_device *pdev)
 static struct platform_driver odroidx2_audio_driver = {
        .driver = {
                .name           = "odroidx2-audio",
-               .owner          = THIS_MODULE,
                .of_match_table = odroidx2_audio_of_match,
                .pm             = &snd_soc_pm_ops,
        },
index bac034b15a2776b35c1f766b14f23e16c96f8e07..b320a9d3fbf82f6b49b9d6a8509c302c9a3ac86c 100644 (file)
@@ -626,7 +626,6 @@ static struct platform_driver s3c_pcm_driver = {
        .remove = s3c_pcm_dev_remove,
        .driver = {
                .name = "samsung-pcm",
-               .owner = THIS_MODULE,
        },
 };
 
index 27b339c6580ec511811714b476999c9578efe91d..2b766d212ce0796a7dd5c9b54b7ad09668e0be02 100644 (file)
@@ -180,7 +180,6 @@ static struct platform_driver s3c2412_iis_driver = {
        .probe  = s3c2412_iis_dev_probe,
        .driver = {
                .name = "s3c2412-iis",
-               .owner = THIS_MODULE,
        },
 };
 
index e87d9a2053b8387e894554ade54ad9e90b945c52..326d3c3804e34bccf1069e61df0bb12d5a8bf042 100644 (file)
@@ -485,7 +485,6 @@ static struct platform_driver s3c24xx_iis_driver = {
        .probe  = s3c24xx_iis_dev_probe,
        .driver = {
                .name = "s3c24xx-iis",
-               .owner = THIS_MODULE,
        },
 };
 
index 2d30b7b6818ad4253cf3b0b5d9dd3590d97a3aa6..7ac924c595bf9afa557d3a7f2f870918cdffbb33 100644 (file)
@@ -99,7 +99,6 @@ static int simtec_audio_hermes_probe(struct platform_device *pd)
 
 static struct platform_driver simtec_audio_hermes_platdrv = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "s3c24xx-simtec-hermes-snd",
                .pm     = simtec_audio_pm,
        },
index 83f6c7d49cd6c198aa5c368f51e4099d18fd646f..b4ed2fc1a65c92a778263da4b67733e2c4a4e5d8 100644 (file)
@@ -87,7 +87,6 @@ static int simtec_audio_tlv320aic23_probe(struct platform_device *pd)
 
 static struct platform_driver simtec_audio_tlv320aic23_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "s3c24xx-simtec-tlv320aic23",
                .pm     = simtec_audio_pm,
        },
index 1b7b52b0af97c04da973153dc446a64379f29019..9c6f7db56f600090be8a804b6380436707aeaa55 100644 (file)
@@ -340,7 +340,6 @@ static struct platform_driver s3c24xx_uda134x_driver = {
        .remove = s3c24xx_uda134x_remove,
        .driver = {
                .name = "s3c24xx_uda134x",
-               .owner = THIS_MODULE,
        },
 };
 
index 63d079303561912e3f94025d0b97fb13484e0e10..05c609c62de9fd830298c4956e222abf8ff87e80 100644 (file)
@@ -173,7 +173,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
 
 static struct platform_driver snd_smdk_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "samsung-smdk-pcm",
        },
        .probe = snd_smdk_probe,
index 3d6272a8cad25949321bb96b87f8abe9be07d96c..d38595fbdab7a4ecce2fbfbf1248b8e47a8c5d09 100644 (file)
@@ -191,7 +191,6 @@ static int smdk_audio_probe(struct platform_device *pdev)
 static struct platform_driver smdk_audio_driver = {
        .driver         = {
                .name   = "smdk-audio-wm8994",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(samsung_wm8994_of_match),
                .pm     = &snd_soc_pm_ops,
        },
index b6c09979be1f77120888c017e6ba2e7362c1ef2d..c470e8eed6e19b1468b15720b654f225ccec434e 100644 (file)
@@ -143,7 +143,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
 
 static struct platform_driver snd_smdk_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "samsung-smdk-pcm",
        },
        .probe = snd_smdk_probe,
index 0acf5d0eed53a30979f66d466252b51f660f3d2e..61e8efd9f779499fbd7745be4404b3ff53d4d255 100644 (file)
@@ -114,7 +114,6 @@ static const struct of_device_id snow_of_match[] = {
 static struct platform_driver snow_driver = {
        .driver = {
                .name = "snow-audio",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = snow_of_match,
        },
index d7d2e208f486ed4a3eb5be9e88389418a8372821..36dbc0e96004095d1617d9a355af620e124567a9 100644 (file)
@@ -477,7 +477,6 @@ static struct platform_driver samsung_spdif_driver = {
        .remove = spdif_remove,
        .driver = {
                .name   = "samsung-spdif",
-               .owner  = THIS_MODULE,
        },
 };
 
index a05482651aaeaf5c1ff994de194d65a63857191d..5ec7c52282f201ba0b8bae03e26e936b6fb142b0 100644 (file)
@@ -340,7 +340,6 @@ static int speyside_probe(struct platform_device *pdev)
 static struct platform_driver speyside_driver = {
        .driver = {
                .name = "speyside",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = speyside_probe,
index 6a2b9f14d6246dd8382eab01fd30cf9840c81f1e..9c80506527c4f3c87620fd48235f9e6f3e737834 100644 (file)
@@ -234,7 +234,6 @@ static int tobermory_probe(struct platform_device *pdev)
 static struct platform_driver tobermory_driver = {
        .driver = {
                .name = "tobermory",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = tobermory_probe,