OSDN Git Service

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

index 3f2b625..8385177 100644 (file)
@@ -146,7 +146,6 @@ static struct platform_driver sunxi_sid_driver = {
        .remove = sunxi_sid_remove,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = sunxi_sid_of_match,
        },
 };