* [PATCH] pinctrl: fix platform_no_drv_owner.cocci warnings
[not found] <201412091859.PtLW5zZR%fengguang.wu@intel.com>
@ 2014-12-09 10:08 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2014-12-09 10:08 UTC (permalink / raw)
To: Mika Westerberg
Cc: kbuild-all, Linus Walleij, Rafael J. Wysocki, Mathias Nyman,
Jin Yao, Felipe Balbi, Chew, Kean Ho, linux-kernel
drivers/pinctrl/intel/pinctrl-baytrail.c:605: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: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pinctrl-baytrail.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pinctrl/intel/pinctrl-baytrail.c
+++ b/drivers/pinctrl/intel/pinctrl-baytrail.c
@@ -602,7 +602,6 @@ static struct platform_driver byt_gpio_d
.remove = byt_gpio_remove,
.driver = {
.name = "byt_gpio",
- .owner = THIS_MODULE,
.pm = &byt_gpio_pm_ops,
.acpi_match_table = ACPI_PTR(byt_gpio_acpi_match),
},
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] pinctrl: fix platform_no_drv_owner.cocci warnings
[not found] <201412091835.Agnyz4iN%fengguang.wu@intel.com>
@ 2014-12-09 10:12 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2014-12-09 10:12 UTC (permalink / raw)
To: Mika Westerberg; +Cc: kbuild-all, Linus Walleij, Heikki Krogerus, linux-kernel
drivers/pinctrl/intel/pinctrl-cherryview.c:1500: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: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pinctrl-cherryview.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pinctrl/intel/pinctrl-cherryview.c
+++ b/drivers/pinctrl/intel/pinctrl-cherryview.c
@@ -1497,7 +1497,6 @@ static struct platform_driver chv_pinctr
.remove = chv_pinctrl_remove,
.driver = {
.name = "cherryview-pinctrl",
- .owner = THIS_MODULE,
.acpi_match_table = chv_pinctrl_acpi_match,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-09 10:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201412091835.Agnyz4iN%fengguang.wu@intel.com>
2014-12-09 10:12 ` [PATCH] pinctrl: fix platform_no_drv_owner.cocci warnings kbuild test robot
[not found] <201412091859.PtLW5zZR%fengguang.wu@intel.com>
2014-12-09 10:08 ` kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox