drivers/mfd/lmp92001-i2c.c:192:25-30: 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
Fixes: 586a684127af ("mfd: Add support for TI LMP92001 driver")
CC: Abhisit Sangjan <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
---
lmp92001-i2c.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/mfd/lmp92001-i2c.c
+++ b/drivers/mfd/lmp92001-i2c.c
@@ -189,7 +189,6 @@ static int lmp92001_i2c_detect(struct i2
static struct i2c_driver lmp92001_i2c_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "lmp92001",
.of_match_table = of_match_ptr(lmp92001_dt_ids),
},