From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:43 +0000 (+0200) Subject: mailbox: drop owner assignment from platform_drivers X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=aaa8a418ec5a2bdb4b0e51bcd7775f81db3a3dd8;p=deliverable%2Flinux.git mailbox: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c index bcc7ee129276..42978c4b63fc 100644 --- a/drivers/mailbox/omap-mailbox.c +++ b/drivers/mailbox/omap-mailbox.c @@ -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), }, };