[PATCH] mfd: hi655x: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot
Date: Tue Dec 15 2015 - 08:30:45 EST


drivers/mfd/hi655x-pmic.c:161: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: Chen Feng <puck.chen@xxxxxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---

hi655x-pmic.c | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/mfd/hi655x-pmic.c
+++ b/drivers/mfd/hi655x-pmic.c
@@ -158,7 +158,6 @@ static int hi655x_pmic_probe(struct plat
static struct platform_driver hi655x_pmic_driver = {
.driver = {
.name = "hi655x-pmic",
- .owner = THIS_MODULE,
.of_match_table = of_hi655x_pmic_match_tbl,
},
.probe = hi655x_pmic_probe,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/