OSDN Git Service

ARM: mach-sa1100: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:06 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:06 +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-sa1100/neponset.c

index 400f803..169262e 100644 (file)
@@ -423,7 +423,6 @@ static struct platform_driver neponset_device_driver = {
        .remove         = neponset_remove,
        .driver         = {
                .name   = "neponset",
-               .owner  = THIS_MODULE,
                .pm     = PM_OPS,
        },
 };