mirror of https://gitee.com/openkylin/linux.git
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
|
@ -345,7 +345,6 @@ static int sh7760_soc_platform_remove(struct platform_device *pdev)
|
|||
static struct platform_driver sh7760_pcm_driver = {
|
||||
.driver = {
|
||||
.name = "sh7760-pcm-audio",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.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 = {
|
||||
.driver = {
|
||||
.name = "hac-pcm-audio",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = hac_soc_platform_probe,
|
||||
|
|
|
@ -845,7 +845,6 @@ static int siu_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver siu_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "siu-pcm-audio",
|
||||
},
|
||||
.probe = siu_probe,
|
||||
|
|
|
@ -398,7 +398,6 @@ static int sh4_soc_dai_remove(struct platform_device *pdev)
|
|||
static struct platform_driver sh4_ssi_driver = {
|
||||
.driver = {
|
||||
.name = "sh4-ssi-dai",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = sh4_soc_dai_probe,
|
||||
|
|
Loading…
Reference in New Issue