OSDN Git Service

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

index 1ca0c7a..2002a3a 100644 (file)
@@ -179,7 +179,6 @@ static struct platform_driver xillybus_platform_driver = {
        .remove = xilly_drv_remove,
        .driver = {
                .name = xillyname,
-               .owner = THIS_MODULE,
                .of_match_table = xillybus_of_match,
        },
 };