Commit 5d5638af authored by Wolfram Sang's avatar Wolfram Sang

ALSA: drivers: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 16573a98
...@@ -1220,7 +1220,6 @@ static struct platform_driver loopback_driver = { ...@@ -1220,7 +1220,6 @@ static struct platform_driver loopback_driver = {
.remove = loopback_remove, .remove = loopback_remove,
.driver = { .driver = {
.name = SND_LOOPBACK_DRIVER, .name = SND_LOOPBACK_DRIVER,
.owner = THIS_MODULE,
.pm = LOOPBACK_PM_OPS, .pm = LOOPBACK_PM_OPS,
}, },
}; };
......
...@@ -1162,7 +1162,6 @@ static struct platform_driver snd_dummy_driver = { ...@@ -1162,7 +1162,6 @@ static struct platform_driver snd_dummy_driver = {
.remove = snd_dummy_remove, .remove = snd_dummy_remove,
.driver = { .driver = {
.name = SND_DUMMY_DRIVER, .name = SND_DUMMY_DRIVER,
.owner = THIS_MODULE,
.pm = SND_DUMMY_PM_OPS, .pm = SND_DUMMY_PM_OPS,
}, },
}; };
......
...@@ -1335,7 +1335,6 @@ static struct platform_driver snd_ml403_ac97cr_driver = { ...@@ -1335,7 +1335,6 @@ static struct platform_driver snd_ml403_ac97cr_driver = {
.remove = snd_ml403_ac97cr_remove, .remove = snd_ml403_ac97cr_remove,
.driver = { .driver = {
.name = SND_ML403_AC97CR_DRIVER, .name = SND_ML403_AC97CR_DRIVER,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -759,7 +759,6 @@ static struct platform_driver snd_mtpav_driver = { ...@@ -759,7 +759,6 @@ static struct platform_driver snd_mtpav_driver = {
.remove = snd_mtpav_remove, .remove = snd_mtpav_remove,
.driver = { .driver = {
.name = SND_MTPAV_DRIVER, .name = SND_MTPAV_DRIVER,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -1040,7 +1040,6 @@ static struct platform_driver snd_mts64_driver = { ...@@ -1040,7 +1040,6 @@ static struct platform_driver snd_mts64_driver = {
.remove = snd_mts64_remove, .remove = snd_mts64_remove,
.driver = { .driver = {
.name = PLATFORM_DRIVER, .name = PLATFORM_DRIVER,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -829,7 +829,6 @@ static struct platform_driver snd_portman_driver = { ...@@ -829,7 +829,6 @@ static struct platform_driver snd_portman_driver = {
.remove = snd_portman_remove, .remove = snd_portman_remove,
.driver = { .driver = {
.name = PLATFORM_DRIVER, .name = PLATFORM_DRIVER,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -994,7 +994,6 @@ static struct platform_driver snd_serial_driver = { ...@@ -994,7 +994,6 @@ static struct platform_driver snd_serial_driver = {
.remove = snd_serial_remove, .remove = snd_serial_remove,
.driver = { .driver = {
.name = SND_SERIAL_DRIVER, .name = SND_SERIAL_DRIVER,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -140,7 +140,6 @@ static struct platform_driver snd_virmidi_driver = { ...@@ -140,7 +140,6 @@ static struct platform_driver snd_virmidi_driver = {
.remove = snd_virmidi_remove, .remove = snd_virmidi_remove,
.driver = { .driver = {
.name = SND_VIRMIDI_DRIVER, .name = SND_VIRMIDI_DRIVER,
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment