Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: sd3078: fix platform_no_drv_owner.cocci warnings

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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

YueHaibing and committed by
Alexandre Belloni
a3b8bcba 42986fb8

-1
-1
drivers/rtc/rtc-sd3078.c
··· 218 218 static struct i2c_driver sd3078_driver = { 219 219 .driver = { 220 220 .name = "sd3078", 221 - .owner = THIS_MODULE, 222 221 .of_match_table = of_match_ptr(rtc_dt_match), 223 222 }, 224 223 .probe = sd3078_probe,