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

index 3f9c3a9ae36fbadd276fd98eec62dcd073136232..d3d45c6f064f37d7f72647d8aca6948a8772a077 100644 (file)
@@ -455,7 +455,6 @@ static struct platform_driver jz4740_i2s_driver = {
        .probe = jz4740_i2s_dev_probe,
        .driver = {
                .name = "jz4740-i2s",
-               .owner = THIS_MODULE,
        },
 };
 
index 5cb91f9e86261b03afcb70583cd83f17ec3e4729..084691784bf9f4aec956c884ae463ccffafe0b46 100644 (file)
@@ -107,7 +107,6 @@ static int qi_lb60_probe(struct platform_device *pdev)
 static struct platform_driver qi_lb60_driver = {
        .driver         = {
                .name   = "qi-lb60-audio",
-               .owner  = THIS_MODULE,
        },
        .probe          = qi_lb60_probe,
 };