misc: carma: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:54 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:54 +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>
drivers/misc/carma/carma-fpga-program.c
drivers/misc/carma/carma-fpga.c

index 339b252fcedd8db0ac844e0a5a500ded59f51680..6fa52f71f51c180d3f9eed6891405497b02df43c 100644 (file)
@@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = {
        .driver         = {
                .name           = drv_name,
                .of_match_table = fpga_of_match,
-               .owner          = THIS_MODULE,
        },
 };
 
index 55e913b7eb114610aa61f6eb1b481daf7a868de9..cdf2d7b902bbff2a9a0a79011d14b642ad7db574 100644 (file)
@@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = {
        .driver         = {
                .name           = drv_name,
                .of_match_table = data_of_match,
-               .owner          = THIS_MODULE,
        },
 };