1
0
Fork 0

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>
hifive-unleashed-5.1
YueHaibing 2019-01-23 12:44:32 +00:00 committed by Alexandre Belloni
parent 42986fb811
commit a3b8bcbafa
1 changed files with 0 additions and 1 deletions

View File

@ -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,