]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mailbox: no need to set .owner platform_driver_register
authorTian Tao <tiantao6@huawei.com>
Tue, 29 Oct 2019 00:51:04 +0000 (08:51 +0800)
committerJassi 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

index 8b9eb56e431114932cbc4c81988bc39a5dfc16f3..cc236ac7a0b5646b17c85f474c74d495dcab635b 100644 (file)
@@ -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,