aboutsummaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorTian Tao2019-10-29 08:51:04 +0800
committerJassi Brar2019-11-26 22:45:15 -0600
commit41c9479903c5bd91bb0cb7240a1227d00c42b41f (patch)
treef004edab1d4b19ae7bb26dead22b53e3cc21a54f /drivers/mailbox
parent0434d3f4525af32bc29f858f71300351041f552d (diff)
mailbox: no need to set .owner platform_driver_register
the platform_driver_register will set the .owner to THIS_MODULE Signed-off-by: Tian Tao <tiantao6@huawei.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/hi6220-mailbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mailbox/hi6220-mailbox.c b/drivers/mailbox/hi6220-mailbox.c
index 8b9eb56e4311..cc236ac7a0b5 100644
--- a/drivers/mailbox/hi6220-mailbox.c
+++ b/drivers/mailbox/hi6220-mailbox.c
@@ -354,7 +354,6 @@ static int hi6220_mbox_probe(struct platform_device *pdev)
static struct platform_driver hi6220_mbox_driver = {
.driver = {
.name = "hi6220-mbox",
- .owner = THIS_MODULE,
.of_match_table = hi6220_mbox_of_match,
},
.probe = hi6220_mbox_probe,