diff options
author | Tian Tao <tiantao6@huawei.com> | 2019-10-29 08:51:04 +0800 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2019-11-26 22:45:15 -0600 |
commit | 41c9479903c5bd91bb0cb7240a1227d00c42b41f (patch) | |
tree | f004edab1d4b19ae7bb26dead22b53e3cc21a54f /drivers | |
parent | 0434d3f4525af32bc29f858f71300351041f552d (diff) | |
download | linux-41c9479903c5bd91bb0cb7240a1227d00c42b41f.tar.gz linux-41c9479903c5bd91bb0cb7240a1227d00c42b41f.tar.bz2 linux-41c9479903c5bd91bb0cb7240a1227d00c42b41f.zip |
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')
-rw-r--r-- | drivers/mailbox/hi6220-mailbox.c | 1 |
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, |