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

kbuild test robot
2015-12-15T13:30:42Z

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@hisilicon.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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,