From a3b8bcbafa45b6cdcbca6beb8684c862a5a2ca61 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Wed, 23 Jan 2019 12:44:32 +0000 Subject: [PATCH] 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 Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-sd3078.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-sd3078.c b/drivers/rtc/rtc-sd3078.c index 704844f32b45..42cb90db7f94 100644 --- a/drivers/rtc/rtc-sd3078.c +++ b/drivers/rtc/rtc-sd3078.c @@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE(of, rtc_dt_match); static struct i2c_driver sd3078_driver = { .driver = { .name = "sd3078", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(rtc_dt_match), }, .probe = sd3078_probe, -- 2.30.2