浏览代码

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 <wsa@the-dreams.de>
Wolfram Sang 10 年之前
父节点
当前提交
aaa8a418ec
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mailbox/omap-mailbox.c

+ 0 - 1
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),
 	},
 };