ASoC: nuc900: 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
38b089d78b
commit
9a600224a3
|
@ -385,7 +385,6 @@ static int nuc900_ac97_drvremove(struct platform_device *pdev)
|
|||
static struct platform_driver nuc900_ac97_driver = {
|
||||
.driver = {
|
||||
.name = "nuc900-ac97",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = nuc900_ac97_drvprobe,
|
||||
.remove = nuc900_ac97_drvremove,
|
||||
|
|
|
@ -347,7 +347,6 @@ static int nuc900_soc_platform_remove(struct platform_device *pdev)
|
|||
static struct platform_driver nuc900_pcm_driver = {
|
||||
.driver = {
|
||||
.name = "nuc900-pcm-audio",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = nuc900_soc_platform_probe,
|
||||
|
|
Loading…
Reference in New Issue