diff mbox

[3/3] PCI: exynos: Remove redundant of_match_ptr

Message ID 1382346403-29576-3-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Sachin Kamat Oct. 21, 2013, 9:06 a.m. UTC
This driver is DT only. Hence of_match_ptr is not required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
---
 drivers/pci/host/pci-exynos.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jingoo Han Oct. 21, 2013, 10:26 a.m. UTC | #1
> This driver is DT only. Hence of_match_ptr is not required.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Jingoo Han <jg1.han@samsung.com>

Acked-by: Jingoo Han <jg1.han@samsung.com>

It looks good.
Thank you for sending the patch. :)

Best regards,
Jingoo Han

> ---
>  drivers/pci/host/pci-exynos.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
> index ee692c2..c4798fb 100644
> --- a/drivers/pci/host/pci-exynos.c
> +++ b/drivers/pci/host/pci-exynos.c
> @@ -647,7 +647,7 @@ static struct platform_driver exynos_pcie_driver = {
>  	.driver = {
>  		.name	= "exynos-pcie",
>  		.owner	= THIS_MODULE,
> -		.of_match_table = of_match_ptr(exynos_pcie_of_match),
> +		.of_match_table = exynos_pcie_of_match,
>  	},
>  };
> 
> --
> 1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bjorn Helgaas Oct. 29, 2013, 10:15 p.m. UTC | #2
On Mon, Oct 21, 2013 at 3:06 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> This driver is DT only. Hence of_match_ptr is not required.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Jingoo Han <jg1.han@samsung.com>

Applied with Jingoo's ack to my pci/host-exynos branch for v3.13, thanks!

> ---
>  drivers/pci/host/pci-exynos.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
> index ee692c2..c4798fb 100644
> --- a/drivers/pci/host/pci-exynos.c
> +++ b/drivers/pci/host/pci-exynos.c
> @@ -647,7 +647,7 @@ static struct platform_driver exynos_pcie_driver = {
>         .driver = {
>                 .name   = "exynos-pcie",
>                 .owner  = THIS_MODULE,
> -               .of_match_table = of_match_ptr(exynos_pcie_of_match),
> +               .of_match_table = exynos_pcie_of_match,
>         },
>  };
>
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index ee692c2..c4798fb 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -647,7 +647,7 @@  static struct platform_driver exynos_pcie_driver = {
 	.driver = {
 		.name	= "exynos-pcie",
 		.owner	= THIS_MODULE,
-		.of_match_table = of_match_ptr(exynos_pcie_of_match),
+		.of_match_table = exynos_pcie_of_match,
 	},
 };