From: kernel test robot <l...@intel.com>

drivers/char/hw_random/xiphera-trng.c:141:3-8: No need to set .owner here. The 
core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Atte Tommiska <atte.tommi...@xiphera.com>
Signed-off-by: kernel test robot <l...@intel.com>
---

url:    
https://github.com/0day-ci/linux/commits/Atte-Tommiska/hwrng-add-support-for-Xiphera-XIP8001B/20200820-190349
base:    bc752d2f345bf55d71b3422a6a24890ea03168dc

 xiphera-trng.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/char/hw_random/xiphera-trng.c
+++ b/drivers/char/hw_random/xiphera-trng.c
@@ -138,7 +138,6 @@ MODULE_DEVICE_TABLE(of, xiphera_trng_of_
 static struct platform_driver xiphera_trng_driver = {
        .driver = {
                .name = "xiphera-trng",
-               .owner = THIS_MODULE,
                .of_match_table = xiphera_trng_of_match,
        },
        .probe = xiphera_trng_probe,

Reply via email to