All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: st: Remove unnecessary use of of_match_ptr macro
@ 2013-06-28 16:10 Axel Lin
  2013-06-29 23:45 ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2013-06-28 16:10 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Srinivas KANDAGATLA, linux-kernel

This is a DT only driver and st_pctl_of_match is always compiled
in. Hence of_match_ptr is unnecessary.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/pinctrl/pinctrl-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index f95c82a..ea0eae5 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -1391,7 +1391,7 @@ static struct platform_driver st_pctl_driver = {
 	.driver = {
 		.name = "st-pinctrl",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(st_pctl_of_match),
+		.of_match_table = st_pctl_of_match,
 	},
 	.probe = st_pctl_probe,
 };
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: st: Remove unnecessary use of of_match_ptr macro
  2013-06-28 16:10 [PATCH] pinctrl: st: Remove unnecessary use of of_match_ptr macro Axel Lin
@ 2013-06-29 23:45 ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2013-06-29 23:45 UTC (permalink / raw)
  To: Axel Lin, Mark Brown; +Cc: Srinivas KANDAGATLA, linux-kernel

On Fri, Jun 28, 2013 at 6:10 PM, Axel Lin <axel.lin@ingics.com> wrote:

> This is a DT only driver and st_pctl_of_match is always compiled
> in. Hence of_match_ptr is unnecessary.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

This driver is merged in Mark Brown's regmap tree, please
resend it with my ACK and hos name on To:

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: st: Remove unnecessary use of of_match_ptr macro
  2013-06-30  0:58 Axel Lin
@ 2013-06-30 11:40 ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2013-06-30 11:40 UTC (permalink / raw)
  To: Axel Lin; +Cc: Linus Walleij, Srinivas KANDAGATLA, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

On Sun, Jun 30, 2013 at 08:58:57AM +0800, Axel Lin wrote:
> This is a DT only driver and st_pctl_of_match is always compiled
> in. Hence of_match_ptr is unnecessary.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] pinctrl: st: Remove unnecessary use of of_match_ptr macro
@ 2013-06-30  0:58 Axel Lin
  2013-06-30 11:40 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2013-06-30  0:58 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linus Walleij, Srinivas KANDAGATLA, linux-kernel

This is a DT only driver and st_pctl_of_match is always compiled
in. Hence of_match_ptr is unnecessary.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
This patch was sent on https://lkml.org/lkml/2013/6/28/420.
Resend to Mark because this driver is merged via regmap tree.

 drivers/pinctrl/pinctrl-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index f95c82a..ea0eae5 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -1391,7 +1391,7 @@ static struct platform_driver st_pctl_driver = {
 	.driver = {
 		.name = "st-pinctrl",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(st_pctl_of_match),
+		.of_match_table = st_pctl_of_match,
 	},
 	.probe = st_pctl_probe,
 };
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-30 11:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28 16:10 [PATCH] pinctrl: st: Remove unnecessary use of of_match_ptr macro Axel Lin
2013-06-29 23:45 ` Linus Walleij
2013-06-30  0:58 Axel Lin
2013-06-30 11:40 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.