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

2018-10-12 Thread Herbert Xu
On Fri, Oct 05, 2018 at 06:42:44AM +, 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 

Patch applied.  Thanks.
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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

2018-10-05 Thread YueHaibing
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 
---
 drivers/crypto/axis/artpec6_crypto.c | 1 -
 1 file changed, 1 deletion(-)

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,
},
 };