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>
@@ -442,7 +442,6 @@ static struct platform_driver s3c_ac97_driver = {
.remove = s3c_ac97_remove,
.driver = {
.name = "samsung-ac97",
- .owner = THIS_MODULE,
},
};
@@ -445,7 +445,6 @@ static int bells_probe(struct platform_device *pdev)
static struct platform_driver bells_driver = {
.name = "bells",
.pm = &snd_soc_pm_ops,
.probe = bells_probe,
@@ -1366,7 +1366,6 @@ static struct platform_driver samsung_i2s_driver = {
.id_table = samsung_i2s_driver_ids,
.name = "samsung-i2s",
.of_match_table = of_match_ptr(exynos_i2s_match),
.pm = &samsung_i2s_pm,
@@ -418,7 +418,6 @@ static int asoc_idma_platform_probe(struct platform_device *pdev)
static struct platform_driver asoc_idma_driver = {
.name = "samsung-idma",
.probe = asoc_idma_platform_probe,
@@ -315,7 +315,6 @@ static int littlemill_probe(struct platform_device *pdev)
static struct platform_driver littlemill_driver = {
.name = "littlemill",
.probe = littlemill_probe,
@@ -198,7 +198,6 @@ static int lowland_probe(struct platform_device *pdev)
static struct platform_driver lowland_driver = {
.name = "lowland",
.probe = lowland_probe,
@@ -162,7 +162,6 @@ static int odroidx2_audio_remove(struct platform_device *pdev)
static struct platform_driver odroidx2_audio_driver = {
.name = "odroidx2-audio",
.of_match_table = odroidx2_audio_of_match,
@@ -626,7 +626,6 @@ static struct platform_driver s3c_pcm_driver = {
.remove = s3c_pcm_dev_remove,
.name = "samsung-pcm",
@@ -180,7 +180,6 @@ static struct platform_driver s3c2412_iis_driver = {
.probe = s3c2412_iis_dev_probe,
.name = "s3c2412-iis",
@@ -485,7 +485,6 @@ static struct platform_driver s3c24xx_iis_driver = {
.probe = s3c24xx_iis_dev_probe,
.name = "s3c24xx-iis",
@@ -99,7 +99,6 @@ static int simtec_audio_hermes_probe(struct platform_device *pd)
static struct platform_driver simtec_audio_hermes_platdrv = {
.name = "s3c24xx-simtec-hermes-snd",
.pm = simtec_audio_pm,
@@ -87,7 +87,6 @@ static int simtec_audio_tlv320aic23_probe(struct platform_device *pd)
static struct platform_driver simtec_audio_tlv320aic23_driver = {
.name = "s3c24xx-simtec-tlv320aic23",
@@ -340,7 +340,6 @@ static struct platform_driver s3c24xx_uda134x_driver = {
.remove = s3c24xx_uda134x_remove,
.name = "s3c24xx_uda134x",
@@ -173,7 +173,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
static struct platform_driver snd_smdk_driver = {
.name = "samsung-smdk-pcm",
.probe = snd_smdk_probe,
@@ -191,7 +191,6 @@ static int smdk_audio_probe(struct platform_device *pdev)
static struct platform_driver smdk_audio_driver = {
.name = "smdk-audio-wm8994",
.of_match_table = of_match_ptr(samsung_wm8994_of_match),
@@ -143,7 +143,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
@@ -114,7 +114,6 @@ static const struct of_device_id snow_of_match[] = {
static struct platform_driver snow_driver = {
.name = "snow-audio",
.of_match_table = snow_of_match,
@@ -477,7 +477,6 @@ static struct platform_driver samsung_spdif_driver = {
.remove = spdif_remove,
.name = "samsung-spdif",
@@ -340,7 +340,6 @@ static int speyside_probe(struct platform_device *pdev)
static struct platform_driver speyside_driver = {
.name = "speyside",
.probe = speyside_probe,
@@ -234,7 +234,6 @@ static int tobermory_probe(struct platform_device *pdev)
static struct platform_driver tobermory_driver = {
.name = "tobermory",
.probe = tobermory_probe,