OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0434d3f
)
mailbox: no need to set .owner platform_driver_register
author
Tian Tao
<tiantao6@huawei.com>
Tue, 29 Oct 2019 00:51:04 +0000
(08:51 +0800)
committer
Jassi Brar
<jaswinder.singh@linaro.org>
Wed, 27 Nov 2019 04:45:15 +0000
(22:45 -0600)
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>
drivers/mailbox/hi6220-mailbox.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/hi6220-mailbox.c
b/drivers/mailbox/hi6220-mailbox.c
index
8b9eb56
..
cc236ac
100644
(file)
--- 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,