CC: [email protected]
TO: Brian Kim <[email protected]>
CC: Dongjin Kim <[email protected]>
CC: memeka <[email protected]>
CC: Yang Deokgyu <[email protected]>

From: kernel test robot <[email protected]>

drivers/char/exynos-gpiomem.c:258: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

Fixes: 0ef2ae8e0676 ("ODROID-XU4: char: exynos: add /dev/gpiomem device for 
rootless user GPIO access")
CC: Brian Kim <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
---

tree:   https://github.com/tobetter/linux odroid-5.11.y
head:   674407f50bbff11698a0f2cf5825d3e039e25b6c
commit: 0ef2ae8e0676a634333e64cf23e4ecab49efa1ca [51/84] ODROID-XU4: char: 
exynos: add /dev/gpiomem device for rootless user GPIO access
:::::: branch date: 4 hours ago
:::::: commit date: 5 hours ago

 exynos-gpiomem.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/char/exynos-gpiomem.c
+++ b/drivers/char/exynos-gpiomem.c
@@ -255,7 +255,6 @@ MODULE_DEVICE_TABLE(of, exynos_gpiomem_o
 static struct platform_driver exynos_gpiomem_driver = {
        .driver                 = {
                .name           = DRIVER_NAME,
-               .owner          = THIS_MODULE,
                .of_match_table = exynos_gpiomem_of_match,
        },
        .probe                  = exynos_gpiomem_probe,
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to