]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ASoC: s6000: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:12 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:12 +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/s6000/s6000-i2s.c
sound/soc/s6000/s6000-pcm.c

index 1c8d01166e5bfdee80fd0209cb20f5357399f4f3..58c67642ed35c7041b9ff412eec6956cf0c59c1b 100644 (file)
@@ -606,7 +606,6 @@ static struct platform_driver s6000_i2s_driver = {
        .remove = s6000_i2s_remove,
        .driver = {
                .name   = "s6000-i2s",
-               .owner  = THIS_MODULE,
        },
 };
 
index fb8461e1b1f6664c2aa151b96661c4103fbd61bd..370fbb44033be10c0e95606cd36ea3821cf5692c 100644 (file)
@@ -507,7 +507,6 @@ static int s6000_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver s6000_pcm_driver = {
        .driver = {
                        .name = "s6000-pcm-audio",
-                       .owner = THIS_MODULE,
        },
 
        .probe = s6000_soc_platform_probe,