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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Родитель
16573a98e1
Коммит
5d5638afa0
|
@ -1220,7 +1220,6 @@ static struct platform_driver loopback_driver = {
|
|||
.remove = loopback_remove,
|
||||
.driver = {
|
||||
.name = SND_LOOPBACK_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = LOOPBACK_PM_OPS,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1162,7 +1162,6 @@ static struct platform_driver snd_dummy_driver = {
|
|||
.remove = snd_dummy_remove,
|
||||
.driver = {
|
||||
.name = SND_DUMMY_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = SND_DUMMY_PM_OPS,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1335,7 +1335,6 @@ static struct platform_driver snd_ml403_ac97cr_driver = {
|
|||
.remove = snd_ml403_ac97cr_remove,
|
||||
.driver = {
|
||||
.name = SND_ML403_AC97CR_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -759,7 +759,6 @@ static struct platform_driver snd_mtpav_driver = {
|
|||
.remove = snd_mtpav_remove,
|
||||
.driver = {
|
||||
.name = SND_MTPAV_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1040,7 +1040,6 @@ static struct platform_driver snd_mts64_driver = {
|
|||
.remove = snd_mts64_remove,
|
||||
.driver = {
|
||||
.name = PLATFORM_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -829,7 +829,6 @@ static struct platform_driver snd_portman_driver = {
|
|||
.remove = snd_portman_remove,
|
||||
.driver = {
|
||||
.name = PLATFORM_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -994,7 +994,6 @@ static struct platform_driver snd_serial_driver = {
|
|||
.remove = snd_serial_remove,
|
||||
.driver = {
|
||||
.name = SND_SERIAL_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -140,7 +140,6 @@ static struct platform_driver snd_virmidi_driver = {
|
|||
.remove = snd_virmidi_remove,
|
||||
.driver = {
|
||||
.name = SND_VIRMIDI_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче