2020-09-21 06:49:58

by Tian Tao

[permalink] [raw]
Subject: [PATCH] mailbox: pcc: remove the .owner when using the platform_create_bundle

the platform_create_bundle is a macro that implements
__platform_create_bundle has set he parameters module to THIS_MODULE.

Signed-off-by: Tian Tao <[email protected]>
---
drivers/mailbox/pcc.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index ef9ecd1..4b1a2d2 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -577,7 +577,6 @@ static struct platform_driver pcc_mbox_driver = {
.probe = pcc_mbox_probe,
.driver = {
.name = "PCCT",
- .owner = THIS_MODULE,
},
};

--
2.7.4