mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
ASoC: sh: 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:
parent
ac204d2290
commit
f20068009a
4 changed files with 0 additions and 4 deletions
|
@ -345,7 +345,6 @@ static int sh7760_soc_platform_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver sh7760_pcm_driver = {
|
static struct platform_driver sh7760_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sh7760-pcm-audio",
|
.name = "sh7760-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = sh7760_soc_platform_probe,
|
.probe = sh7760_soc_platform_probe,
|
||||||
|
|
|
@ -333,7 +333,6 @@ static int hac_soc_platform_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver hac_pcm_driver = {
|
static struct platform_driver hac_pcm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hac-pcm-audio",
|
.name = "hac-pcm-audio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = hac_soc_platform_probe,
|
.probe = hac_soc_platform_probe,
|
||||||
|
|
|
@ -845,7 +845,6 @@ static int siu_remove(struct platform_device *pdev)
|
||||||
|
|
||||||
static struct platform_driver siu_driver = {
|
static struct platform_driver siu_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "siu-pcm-audio",
|
.name = "siu-pcm-audio",
|
||||||
},
|
},
|
||||||
.probe = siu_probe,
|
.probe = siu_probe,
|
||||||
|
|
|
@ -398,7 +398,6 @@ static int sh4_soc_dai_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver sh4_ssi_driver = {
|
static struct platform_driver sh4_ssi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sh4-ssi-dai",
|
.name = "sh4-ssi-dai",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
.probe = sh4_soc_dai_probe,
|
.probe = sh4_soc_dai_probe,
|
||||||
|
|
Loading…
Reference in a new issue