ASoC: samsung: drop owner assignment from platform_drivers

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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:22:13 +02:00
parent bc46ec16a5
commit ac204d2290
20 changed files with 0 additions and 20 deletions

View File

@ -442,7 +442,6 @@ static struct platform_driver s3c_ac97_driver = {
.remove = s3c_ac97_remove,
.driver = {
.name = "samsung-ac97",
.owner = THIS_MODULE,
},
};

View 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,

View 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,
},

View 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,

View 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,

View 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,

View 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,
},

View File

@ -626,7 +626,6 @@ static struct platform_driver s3c_pcm_driver = {
.remove = s3c_pcm_dev_remove,
.driver = {
.name = "samsung-pcm",
.owner = THIS_MODULE,
},
};

View File

@ -180,7 +180,6 @@ static struct platform_driver s3c2412_iis_driver = {
.probe = s3c2412_iis_dev_probe,
.driver = {
.name = "s3c2412-iis",
.owner = THIS_MODULE,
},
};

View File

@ -485,7 +485,6 @@ static struct platform_driver s3c24xx_iis_driver = {
.probe = s3c24xx_iis_dev_probe,
.driver = {
.name = "s3c24xx-iis",
.owner = THIS_MODULE,
},
};

View 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,
},

View 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,
},

View File

@ -340,7 +340,6 @@ static struct platform_driver s3c24xx_uda134x_driver = {
.remove = s3c24xx_uda134x_remove,
.driver = {
.name = "s3c24xx_uda134x",
.owner = THIS_MODULE,
},
};

View 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,

View 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,
},

View 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,

View 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,
},

View File

@ -477,7 +477,6 @@ static struct platform_driver samsung_spdif_driver = {
.remove = spdif_remove,
.driver = {
.name = "samsung-spdif",
.owner = THIS_MODULE,
},
};

View 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,

View 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,