]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: au1x: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:04 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:04 +0000 (16:22 +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/soc/au1x/ac97c.c
sound/soc/au1x/db1000.c
sound/soc/au1x/db1200.c
sound/soc/au1x/dbdma2.c
sound/soc/au1x/dma.c
sound/soc/au1x/i2sc.c
sound/soc/au1x/psc-ac97.c
sound/soc/au1x/psc-i2s.c

index c8a2de103c5f3b6b0cb5172f858c687795154d19..e989f1a7a768991f09c86d25473d44e31a136379 100644 (file)
@@ -334,7 +334,6 @@ static const struct dev_pm_ops au1xpscac97_pmops = {
 static struct platform_driver au1xac97c_driver = {
        .driver = {
                .name   = "alchemy-ac97c",
-               .owner  = THIS_MODULE,
                .pm     = AU1XPSCAC97_PMOPS,
        },
        .probe          = au1xac97c_drvprobe,
index 376d976bcc2da652d9e047f561392b1915fcbe8d..452f404abfd283abe56caaae06de856a47d2b1d9 100644 (file)
@@ -51,7 +51,6 @@ static int db1000_audio_remove(struct platform_device *pdev)
 static struct platform_driver db1000_audio_driver = {
        .driver = {
                .name   = "db1000-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = db1000_audio_probe,
index decba87a074c6267eb1bd93265fc8fc96787db7a..a747ac0b399fae766ddbe85695d2db9140f42884 100644 (file)
@@ -200,7 +200,6 @@ static int db1200_audio_remove(struct platform_device *pdev)
 static struct platform_driver db1200_audio_driver = {
        .driver = {
                .name   = "db1200-ac97",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .id_table       = db1200_pids,
index 17a24d804734f7539b456751708a206c9925319f..b06b8d8128c661d3c8645672224147164122f36e 100644 (file)
@@ -363,7 +363,6 @@ static int au1xpsc_pcm_drvremove(struct platform_device *pdev)
 static struct platform_driver au1xpsc_pcm_driver = {
        .driver = {
                .name   = "au1xpsc-pcm",
-               .owner  = THIS_MODULE,
        },
        .probe          = au1xpsc_pcm_drvprobe,
        .remove         = au1xpsc_pcm_drvremove,
index e920b60bf6c2f9fe2a43cc515ba4dec69a977127..6ffaaff469c7d13ecc623833a14c18838486b3f0 100644 (file)
@@ -331,7 +331,6 @@ static int alchemy_pcm_drvremove(struct platform_device *pdev)
 static struct platform_driver alchemy_pcmdma_driver = {
        .driver = {
                .name   = "alchemy-pcm-dma",
-               .owner  = THIS_MODULE,
        },
        .probe          = alchemy_pcm_drvprobe,
        .remove         = alchemy_pcm_drvremove,
index b3f37f6edbcb0842fdbba6986325f48c742fc10c..450c842c776cc70b1f920e71850a92f66a2fa907 100644 (file)
@@ -310,7 +310,6 @@ static const struct dev_pm_ops au1xi2sc_pmops = {
 static struct platform_driver au1xi2s_driver = {
        .driver = {
                .name   = "alchemy-i2sc",
-               .owner  = THIS_MODULE,
                .pm     = AU1XI2SC_PMOPS,
        },
        .probe          = au1xi2s_drvprobe,
index 84f31e1f9d249c5700b6c00b01ed370a81cbcefd..f3bd1b80e3a19594c2c7b0b46b5625742ad5533a 100644 (file)
@@ -490,7 +490,6 @@ static struct dev_pm_ops au1xpscac97_pmops = {
 static struct platform_driver au1xpsc_ac97_driver = {
        .driver = {
                .name   = "au1xpsc_ac97",
-               .owner  = THIS_MODULE,
                .pm     = AU1XPSCAC97_PMOPS,
        },
        .probe          = au1xpsc_ac97_drvprobe,
index 814beffc56f23905fed318265111fcd640c16843..e742ef668496f5bae5674d471ec81757c37ab4b1 100644 (file)
@@ -419,7 +419,6 @@ static struct dev_pm_ops au1xpsci2s_pmops = {
 static struct platform_driver au1xpsc_i2s_driver = {
        .driver         = {
                .name   = "au1xpsc_i2s",
-               .owner  = THIS_MODULE,
                .pm     = AU1XPSCI2S_PMOPS,
        },
        .probe          = au1xpsc_i2s_drvprobe,