* [PATCH 1/7] pinctrl: imx7d: Remove .owner field
@ 2015-06-01 12:53 Fabio Estevam
2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: " Fabio Estevam
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:53 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/freescale/pinctrl-imx7d.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/freescale/pinctrl-imx7d.c b/drivers/pinctrl/freescale/pinctrl-imx7d.c
index d8ab17e..1fa7530 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx7d.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx7d.c
@@ -361,7 +361,6 @@ static int imx7d_pinctrl_probe(struct platform_device *pdev)
static struct platform_driver imx7d_pinctrl_driver = {
.driver = {
.name = "imx7d-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(imx7d_pinctrl_of_match),
},
.probe = imx7d_pinctrl_probe,
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/7] pinctrl: amd: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
@ 2015-06-01 12:54 ` Fabio Estevam
2015-06-01 12:54 ` [PATCH 3/7] pinctrl: sun6i-a31s: " Fabio Estevam
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:54 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/pinctrl-amd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 7de3b64..e747912 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -855,7 +855,6 @@ MODULE_DEVICE_TABLE(acpi, amd_gpio_acpi_match);
static struct platform_driver amd_gpio_driver = {
.driver = {
.name = "amd_gpio",
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(amd_gpio_acpi_match),
},
.probe = amd_gpio_probe,
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/7] pinctrl: sun6i-a31s: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: " Fabio Estevam
@ 2015-06-01 12:54 ` Fabio Estevam
2015-06-01 12:54 ` [PATCH 4/7] pinctrl: mt8135: " Fabio Estevam
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:54 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c
index d3725dc..e570d5c 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c
@@ -804,7 +804,6 @@ static struct platform_driver sun6i_a31s_pinctrl_driver = {
.probe = sun6i_a31s_pinctrl_probe,
.driver = {
.name = "sun6i-a31s-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = sun6i_a31s_pinctrl_match,
},
};
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/7] pinctrl: mt8135: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 3/7] pinctrl: sun6i-a31s: " Fabio Estevam
@ 2015-06-01 12:54 ` Fabio Estevam
2015-06-01 12:54 ` [PATCH 5/7] pinctrl: mt8127: " Fabio Estevam
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:54 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/mediatek/pinctrl-mt8135.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8135.c b/drivers/pinctrl/mediatek/pinctrl-mt8135.c
index 203bd2a..404f117 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt8135.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt8135.c
@@ -357,7 +357,6 @@ static struct platform_driver mtk_pinctrl_driver = {
.probe = mt8135_pinctrl_probe,
.driver = {
.name = "mediatek-mt8135-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = mt8135_pctrl_match,
},
};
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 5/7] pinctrl: mt8127: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
` (2 preceding siblings ...)
2015-06-01 12:54 ` [PATCH 4/7] pinctrl: mt8135: " Fabio Estevam
@ 2015-06-01 12:54 ` Fabio Estevam
2015-06-01 12:54 ` [PATCH 6/7] pinctrl: mt6397: " Fabio Estevam
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:54 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/mediatek/pinctrl-mt8127.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8127.c b/drivers/pinctrl/mediatek/pinctrl-mt8127.c
index 6a26cfa..b317b0b 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt8127.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt8127.c
@@ -342,7 +342,6 @@ static struct platform_driver mtk_pinctrl_driver = {
.probe = mt8127_pinctrl_probe,
.driver = {
.name = "mediatek-mt8127-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = mt8127_pctrl_match,
},
};
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 6/7] pinctrl: mt6397: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
` (3 preceding siblings ...)
2015-06-01 12:54 ` [PATCH 5/7] pinctrl: mt8127: " Fabio Estevam
@ 2015-06-01 12:54 ` Fabio Estevam
2015-06-01 12:54 ` [PATCH 7/7] pinctrl: atlas7: " Fabio Estevam
2015-06-04 8:13 ` [PATCH 1/7] pinctrl: imx7d: " Linus Walleij
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:54 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/mediatek/pinctrl-mt6397.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6397.c b/drivers/pinctrl/mediatek/pinctrl-mt6397.c
index 767bbdf..f9751ae 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt6397.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt6397.c
@@ -61,7 +61,6 @@ static struct platform_driver mtk_pinctrl_driver = {
.probe = mt6397_pinctrl_probe,
.driver = {
.name = "mediatek-mt6397-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = mt6397_pctrl_match,
},
};
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 7/7] pinctrl: atlas7: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
` (4 preceding siblings ...)
2015-06-01 12:54 ` [PATCH 6/7] pinctrl: mt6397: " Fabio Estevam
@ 2015-06-01 12:54 ` Fabio Estevam
2015-06-04 8:13 ` [PATCH 1/7] pinctrl: imx7d: " Linus Walleij
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:54 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-gpio, Fabio Estevam
platform_driver does not need to set the owner field, as it will be
populated by the driver core, so just remove it.
The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/pinctrl/sirf/pinctrl-atlas7.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c
index 046251a..c2ced3f 100644
--- a/drivers/pinctrl/sirf/pinctrl-atlas7.c
+++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c
@@ -4066,7 +4066,6 @@ static int atlas7_pinmux_probe(struct platform_device *pdev)
pmx->pctl_desc.pctlops = &atlas7_pinctrl_ops;
pmx->pctl_desc.pmxops = &atlas7_pinmux_ops;
pmx->pctl_desc.confops = &atlas7_pinconf_ops;
- pmx->pctl_desc.owner = THIS_MODULE;
for (idx = 0; idx < banks; idx++) {
pmx->regs[idx] = of_iomap(np, idx);
@@ -4109,7 +4108,6 @@ static const struct of_device_id atlas7_pinmux_ids[] = {
static struct platform_driver atlas7_pinmux_driver = {
.driver = {
.name = "atlas7-ioc",
- .owner = THIS_MODULE,
.of_match_table = atlas7_pinmux_ids,
},
.probe = atlas7_pinmux_probe,
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/7] pinctrl: imx7d: Remove .owner field
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
` (5 preceding siblings ...)
2015-06-01 12:54 ` [PATCH 7/7] pinctrl: atlas7: " Fabio Estevam
@ 2015-06-04 8:13 ` Linus Walleij
6 siblings, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2015-06-04 8:13 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-gpio@vger.kernel.org
On Mon, Jun 1, 2015 at 2:53 PM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> platform_driver does not need to set the owner field, as it will be
> populated by the driver core, so just remove it.
>
> The semantic patch that makes this change is available
> in scripts/coccinelle/api/platform_no_drv_owner.cocci.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
All seven patches squashed into one and applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-06-04 8:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 3/7] pinctrl: sun6i-a31s: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 4/7] pinctrl: mt8135: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 5/7] pinctrl: mt8127: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 6/7] pinctrl: mt6397: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 7/7] pinctrl: atlas7: " Fabio Estevam
2015-06-04 8:13 ` [PATCH 1/7] pinctrl: imx7d: " Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).