Commit a3b8bcba authored by YueHaibing's avatar YueHaibing Committed by Alexandre Belloni

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 42986fb8
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment