[PATCH] pinctrl: max77620: fix platform_no_drv_owner.cocci warnings
From: Julia Lawall
Date: Tue Jan 12 2016 - 05:52:20 EST
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Laxman Dewangan <ldewangan@xxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
---
pinctrl-max77620.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pinctrl/pinctrl-max77620.c
+++ b/drivers/pinctrl/pinctrl-max77620.c
@@ -678,7 +678,6 @@ static const struct platform_device_id m
static struct platform_driver max77620_pinctrl_driver = {
.driver = {
.name = "max77620-pinctrl",
- .owner = THIS_MODULE,
.pm = &max77620_pinctrl_pm_ops,
},
.probe = max77620_pinctrl_probe,