drivers/power/supply/max14656_charger_detector.c:317:3-8:
No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Alexander Kurz <akurz@blala.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
static struct i2c_driver max14656_i2c_driver = {
.driver = {
.name = "max14656",
- .owner = THIS_MODULE,
.of_match_table = max14656_match_table,
},
.probe = max14656_probe,