OSDN Git Service

sparc: include: asm: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:14 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:14 +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/sparc/include/asm/parport.h

index c55291e..f005cca 100644 (file)
@@ -238,7 +238,6 @@ static const struct of_device_id ecpp_match[] = {
 static struct platform_driver ecpp_driver = {
        .driver = {
                .name = "ecpp",
-               .owner = THIS_MODULE,
                .of_match_table = ecpp_match,
        },
        .probe                  = ecpp_probe,