From 41c9479903c5bd91bb0cb7240a1227d00c42b41f Mon Sep 17 00:00:00 2001 From: Tian Tao Date: Tue, 29 Oct 2019 08:51:04 +0800 Subject: 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 Signed-off-by: Jassi Brar --- drivers/mailbox/hi6220-mailbox.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/mailbox') 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, -- cgit v1.2.3-59-g8ed1b