1
0
Fork 0

ASoC: ux500: 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>
hifive-unleashed-5.1
Wolfram Sang 2014-10-20 16:22:15 +02:00
parent 1cfc291a30
commit c9e2faeb20
2 changed files with 0 additions and 2 deletions

View File

@ -159,7 +159,6 @@ static const struct of_device_id snd_soc_mop500_match[] = {
static struct platform_driver snd_soc_mop500_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "snd-soc-mop500",
.of_match_table = snd_soc_mop500_match,
},

View File

@ -856,7 +856,6 @@ static const struct of_device_id ux500_msp_i2s_match[] = {
static struct platform_driver msp_i2s_driver = {
.driver = {
.name = "ux500-msp-i2s",
.owner = THIS_MODULE,
.of_match_table = ux500_msp_i2s_match,
},
.probe = ux500_msp_drv_probe,