ALSA: drivers: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:59 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:59 +0000 (16:21 +0200)
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>
sound/drivers/aloop.c
sound/drivers/dummy.c
sound/drivers/ml403-ac97cr.c
sound/drivers/mtpav.c
sound/drivers/mts64.c
sound/drivers/portman2x4.c
sound/drivers/serial-u16550.c
sound/drivers/virmidi.c

index 2a16c86a60b3c8bac7dbf3697c17f4bcfa013ee3..7ea53399404dc59f3823dd3e92a2c4c41df10f03 100644 (file)
@@ -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,
        },
 };
index fab90bd2bd5151ae1fcf44f8a7f9b444e1e323fe..5d0dfb787cece4e9cfc4eb95e09ea6ba6ffb38a6 100644 (file)
@@ -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,
        },
 };
index 33ed76530d0bc31402dae0c77405934ff1209b66..bcca825a1c8dc6fb1fce435ba9744aa0f2c5de4e 100644 (file)
@@ -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,
        },
 };
 
index 4b66c7f22af797332059e2a1ef57ae7c0e6a9f06..15769447688f2d807ed43912085ad00e53ec72af 100644 (file)
@@ -759,7 +759,6 @@ static struct platform_driver snd_mtpav_driver = {
        .remove         = snd_mtpav_remove,
        .driver         = {
                .name   = SND_MTPAV_DRIVER,
-               .owner  = THIS_MODULE,
        },
 };
 
index f5fd448dbc5700b96f061c1800ea369e8bcbf9f1..8991d834e3ddd0a77f3e31bb3f807b8a5a157cbd 100644 (file)
@@ -1040,7 +1040,6 @@ static struct platform_driver snd_mts64_driver = {
        .remove = snd_mts64_remove,
        .driver = {
                .name = PLATFORM_DRIVER,
-               .owner  = THIS_MODULE,
        }
 };
 
index 78ccfa4555272fa9e1fdd3a266b1ab6c7a7db425..464385a480e491e2c325ceb01f56d9cade82f4fd 100644 (file)
@@ -829,7 +829,6 @@ static struct platform_driver snd_portman_driver = {
        .remove = snd_portman_remove,
        .driver = {
                .name = PLATFORM_DRIVER,
-               .owner  = THIS_MODULE,
        }
 };
 
index 9ad4414fa25cf06b89abc1399584b134bb9a4970..13a34e3c63823d8c604d636157a2044e2626d8e9 100644 (file)
@@ -994,7 +994,6 @@ static struct platform_driver snd_serial_driver = {
        .remove         =  snd_serial_remove,
        .driver         = {
                .name   = SND_SERIAL_DRIVER,
-               .owner  = THIS_MODULE,
        },
 };
 
index b178724295f37f4a29d0a0a51494af6e763589c8..abace3ce24da5fe86d8a661de45c086c042b1841 100644 (file)
@@ -140,7 +140,6 @@ static struct platform_driver snd_virmidi_driver = {
        .remove         = snd_virmidi_remove,
        .driver         = {
                .name   = SND_VIRMIDI_DRIVER,
-               .owner  = THIS_MODULE,
        },
 };