rtc: sd3078: fix platform_no_drv_owner.cocci warnings
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/rtc/rtc-sd3078.c | 1 - 1 file changed, 1 deletion(-)
drivers/rtc/rtc-sd3078.c +0 -1
@@ -218,7 +218,6 @@ static int sd3078_probe(struct i2c_client *client,static struct i2c_driver sd3078_driver = { .driver = { .name ="sd3078" , - .owner =THIS_MODULE , .of_match_table =of_match_ptr (rtc_dt_match), }, .probe = sd3078_probe,
Quoted 8 lines · YueHaibing
Remove .owner field if calls are used which set it automatically Generated by:
scripts/coccinelle/api/platform_no_drv_owner.cocciSigned-off-by YueHaibing <[email protected]>--- drivers/rtc/rtc-sd3078.c | 1 - 1 file changed, 1 deletion(-)
Applied.
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com