]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: txx9: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:15 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:15 +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/txx9/txx9aclc-ac97.c
sound/soc/txx9/txx9aclc-generic.c
sound/soc/txx9/txx9aclc.c

index 9edd68db9f482e618e4e245a40dfbd0c94711e5d..57e4d99b3cd8b673bc0d9eb84a5de72e966f4c07 100644 (file)
@@ -224,7 +224,6 @@ static struct platform_driver txx9aclc_ac97_driver = {
        .remove         = txx9aclc_ac97_dev_remove,
        .driver         = {
                .name   = "txx9aclc-ac97",
-               .owner  = THIS_MODULE,
        },
 };
 
index b056a1431ed41024a6d245374e42ff739eb0e365..d0b1e7759968bb01165af940ec9f8d3d1b88580b 100644 (file)
@@ -66,7 +66,6 @@ static struct platform_driver txx9aclc_generic_driver = {
        .remove = __exit_p(txx9aclc_generic_remove),
        .driver = {
                .name = "txx9aclc-generic",
-               .owner = THIS_MODULE,
        },
 };
 
index cd71fd889d8bf834cc71cd1e491bdd9c590d78ef..45684206118eb59b1a95c308f113e7b315d14793 100644 (file)
@@ -429,7 +429,6 @@ static int txx9aclc_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver txx9aclc_pcm_driver = {
        .driver = {
                        .name = "txx9aclc-pcm-audio",
-                       .owner = THIS_MODULE,
        },
 
        .probe = txx9aclc_soc_platform_probe,