ASoC: tegra: 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:
@@ -438,7 +438,6 @@ static const struct of_device_id tegra20_ac97_of_match[] = {
|
|||||||
static struct platform_driver tegra20_ac97_driver = {
|
static struct platform_driver tegra20_ac97_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = tegra20_ac97_of_match,
|
.of_match_table = tegra20_ac97_of_match,
|
||||||
},
|
},
|
||||||
.probe = tegra20_ac97_platform_probe,
|
.probe = tegra20_ac97_platform_probe,
|
||||||
|
@@ -233,7 +233,6 @@ static struct platform_driver tegra20_das_driver = {
|
|||||||
.remove = tegra20_das_remove,
|
.remove = tegra20_das_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = tegra20_das_of_match,
|
.of_match_table = tegra20_das_of_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@@ -464,7 +464,6 @@ static const struct dev_pm_ops tegra20_i2s_pm_ops = {
|
|||||||
static struct platform_driver tegra20_i2s_driver = {
|
static struct platform_driver tegra20_i2s_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = tegra20_i2s_of_match,
|
.of_match_table = tegra20_i2s_of_match,
|
||||||
.pm = &tegra20_i2s_pm_ops,
|
.pm = &tegra20_i2s_pm_ops,
|
||||||
},
|
},
|
||||||
|
@@ -387,7 +387,6 @@ static const struct dev_pm_ops tegra20_spdif_pm_ops = {
|
|||||||
static struct platform_driver tegra20_spdif_driver = {
|
static struct platform_driver tegra20_spdif_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &tegra20_spdif_pm_ops,
|
.pm = &tegra20_spdif_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = tegra20_spdif_platform_probe,
|
.probe = tegra20_spdif_platform_probe,
|
||||||
|
@@ -723,7 +723,6 @@ static struct platform_driver tegra30_ahub_driver = {
|
|||||||
.remove = tegra30_ahub_remove,
|
.remove = tegra30_ahub_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = tegra30_ahub_of_match,
|
.of_match_table = tegra30_ahub_of_match,
|
||||||
.pm = &tegra30_ahub_pm_ops,
|
.pm = &tegra30_ahub_pm_ops,
|
||||||
},
|
},
|
||||||
|
@@ -585,7 +585,6 @@ static const struct dev_pm_ops tegra30_i2s_pm_ops = {
|
|||||||
static struct platform_driver tegra30_i2s_driver = {
|
static struct platform_driver tegra30_i2s_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = tegra30_i2s_of_match,
|
.of_match_table = tegra30_i2s_of_match,
|
||||||
.pm = &tegra30_i2s_pm_ops,
|
.pm = &tegra30_i2s_pm_ops,
|
||||||
},
|
},
|
||||||
|
@@ -250,7 +250,6 @@ static const struct of_device_id tegra_alc5632_of_match[] = {
|
|||||||
static struct platform_driver tegra_alc5632_driver = {
|
static struct platform_driver tegra_alc5632_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_alc5632_of_match,
|
.of_match_table = tegra_alc5632_of_match,
|
||||||
},
|
},
|
||||||
|
@@ -308,7 +308,6 @@ static const struct of_device_id tegra_max98090_of_match[] = {
|
|||||||
static struct platform_driver tegra_max98090_driver = {
|
static struct platform_driver tegra_max98090_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_max98090_of_match,
|
.of_match_table = tegra_max98090_of_match,
|
||||||
},
|
},
|
||||||
|
@@ -251,7 +251,6 @@ static const struct of_device_id tegra_rt5640_of_match[] = {
|
|||||||
static struct platform_driver tegra_rt5640_driver = {
|
static struct platform_driver tegra_rt5640_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_rt5640_of_match,
|
.of_match_table = tegra_rt5640_of_match,
|
||||||
},
|
},
|
||||||
|
@@ -204,7 +204,6 @@ static const struct of_device_id tegra_wm8753_of_match[] = {
|
|||||||
static struct platform_driver tegra_wm8753_driver = {
|
static struct platform_driver tegra_wm8753_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_wm8753_of_match,
|
.of_match_table = tegra_wm8753_of_match,
|
||||||
},
|
},
|
||||||
|
@@ -386,7 +386,6 @@ static const struct of_device_id tegra_wm8903_of_match[] = {
|
|||||||
static struct platform_driver tegra_wm8903_driver = {
|
static struct platform_driver tegra_wm8903_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_wm8903_of_match,
|
.of_match_table = tegra_wm8903_of_match,
|
||||||
},
|
},
|
||||||
|
@@ -167,7 +167,6 @@ static const struct of_device_id tegra_wm9712_of_match[] = {
|
|||||||
static struct platform_driver tegra_wm9712_driver = {
|
static struct platform_driver tegra_wm9712_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_wm9712_of_match,
|
.of_match_table = tegra_wm9712_of_match,
|
||||||
},
|
},
|
||||||
|
@@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, trimslice_of_match);
|
|||||||
static struct platform_driver tegra_snd_trimslice_driver = {
|
static struct platform_driver tegra_snd_trimslice_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = trimslice_of_match,
|
.of_match_table = trimslice_of_match,
|
||||||
},
|
},
|
||||||
.probe = tegra_snd_trimslice_probe,
|
.probe = tegra_snd_trimslice_probe,
|
||||||
|
Reference in New Issue
Block a user