diff mbox series

[-next] crypto: axis - fix platform_no_drv_owner.cocci warnings

Message ID 1538721764-119941-1-git-send-email-yuehaibing@huawei.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series [-next] crypto: axis - fix platform_no_drv_owner.cocci warnings | expand

Commit Message

Yue Haibing Oct. 5, 2018, 6:42 a.m. UTC
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/crypto/axis/artpec6_crypto.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Herbert Xu Oct. 12, 2018, 6:22 a.m. UTC | #1
On Fri, Oct 05, 2018 at 06:42:44AM +0000, YueHaibing wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/axis/artpec6_crypto.c b/drivers/crypto/axis/artpec6_crypto.c
index e5a080e..f3442c2 100644
--- a/drivers/crypto/axis/artpec6_crypto.c
+++ b/drivers/crypto/axis/artpec6_crypto.c
@@ -3173,7 +3173,6 @@  static int artpec6_crypto_remove(struct platform_device *pdev)
 	.remove  = artpec6_crypto_remove,
 	.driver  = {
 		.name  = "artpec6-crypto",
-		.owner = THIS_MODULE,
 		.of_match_table = artpec6_crypto_of_match,
 	},
 };