OSDN Git Service

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 e329cce..4ced61a 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 fc3646c..685deff 100644 (file)
@@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = {
 
        .driver = {
                .name = "tosa-bt",
-               .owner = THIS_MODULE,
        },
 };