OSDN Git Service

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

index bcc7ee1..42978c4 100644 (file)
@@ -814,7 +814,6 @@ static struct platform_driver omap_mbox_driver = {
        .remove = omap_mbox_remove,
        .driver = {
                .name = "omap-mailbox",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(omap_mailbox_of_match),
        },
 };