linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr
@ 2013-12-19  9:04 Sachin Kamat
  2013-12-19  9:13 ` Thomas Petazzoni
  2013-12-19 18:19 ` Bjorn Helgaas
  0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-12-19  9:04 UTC (permalink / raw)
  To: linux-pci; +Cc: jason, bhelgaas, sachin.kamat, Thomas Petazzoni

mvebu_pcie_of_match_table is always compiled in. Hence of_match_ptr is
not required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 drivers/pci/host/pci-mvebu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
index 533e0df02718..bedc0b1562b9 100644
--- a/drivers/pci/host/pci-mvebu.c
+++ b/drivers/pci/host/pci-mvebu.c
@@ -1012,8 +1012,7 @@ static struct platform_driver mvebu_pcie_driver = {
 	.driver = {
 		.owner = THIS_MODULE,
 		.name = "mvebu-pcie",
-		.of_match_table =
-		   of_match_ptr(mvebu_pcie_of_match_table),
+		.of_match_table = mvebu_pcie_of_match_table,
 		/* driver unloading/unbinding currently not supported */
 		.suppress_bind_attrs = true,
 	},
-- 
1.7.9.5


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

* Re: [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr
  2013-12-19  9:04 [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr Sachin Kamat
@ 2013-12-19  9:13 ` Thomas Petazzoni
  2013-12-19 18:19 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2013-12-19  9:13 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pci, jason, bhelgaas

Dear Sachin Kamat,

On Thu, 19 Dec 2013 14:34:59 +0530, Sachin Kamat wrote:
> mvebu_pcie_of_match_table is always compiled in. Hence of_match_ptr is
> not required.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  drivers/pci/host/pci-mvebu.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* Re: [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr
  2013-12-19  9:04 [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr Sachin Kamat
  2013-12-19  9:13 ` Thomas Petazzoni
@ 2013-12-19 18:19 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2013-12-19 18:19 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pci, jason, Thomas Petazzoni

On Thu, Dec 19, 2013 at 02:34:59PM +0530, Sachin Kamat wrote:
> mvebu_pcie_of_match_table is always compiled in. Hence of_match_ptr is
> not required.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks, applied with Thomas's ack to pci/host-mvebu for v3.14.

Bjorn

> ---
>  drivers/pci/host/pci-mvebu.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
> index 533e0df02718..bedc0b1562b9 100644
> --- a/drivers/pci/host/pci-mvebu.c
> +++ b/drivers/pci/host/pci-mvebu.c
> @@ -1012,8 +1012,7 @@ static struct platform_driver mvebu_pcie_driver = {
>  	.driver = {
>  		.owner = THIS_MODULE,
>  		.name = "mvebu-pcie",
> -		.of_match_table =
> -		   of_match_ptr(mvebu_pcie_of_match_table),
> +		.of_match_table = mvebu_pcie_of_match_table,
>  		/* driver unloading/unbinding currently not supported */
>  		.suppress_bind_attrs = true,
>  	},
> -- 
> 1.7.9.5
> 

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

end of thread, other threads:[~2013-12-19 18:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19  9:04 [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr Sachin Kamat
2013-12-19  9:13 ` Thomas Petazzoni
2013-12-19 18:19 ` Bjorn Helgaas

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).