]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mach-pxa: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:05 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:05 +0000 (16:20 +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>
arch/arm/mach-pxa/pxa3xx-ulpi.c
arch/arm/mach-pxa/tosa-bt.c

index e329ccefd364c47c63b6b3552d773ec8f8fefd8e..4ced61afc7f50befbaebfcdbfb75f4b5bd727b08 100644 (file)
@@ -379,7 +379,6 @@ static int pxa3xx_u2d_remove(struct platform_device *pdev)
 static struct platform_driver pxa3xx_u2d_ulpi_driver = {
         .driver                = {
                 .name   = "pxa3xx-u2d",
-               .owner  = THIS_MODULE,
         },
         .probe          = pxa3xx_u2d_probe,
         .remove         = pxa3xx_u2d_remove,
index fc3646c2c694a74fe6ac3f572704e70444637312..685deff861d204ab3b973c629ad39e1cd3c95e46 100644 (file)
@@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = {
 
        .driver = {
                .name = "tosa-bt",
-               .owner = THIS_MODULE,
        },
 };