Re: [PATCH 1/3] PCI: imx6: Remove redeundant of_match_ptr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 21, 2013 at 3:06 AM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
> imx6_pcie_of_match is always compiled in. Hence of_match_ptr is
> not required.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Cc: Sean Cross <xobs@xxxxxxxxxx>

Applied with Shawn's ack to my pci/host-imx6 branch for v3.13, thanks.

> ---
>  drivers/pci/host/pci-imx6.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
> index 5afa922..64aaa8e 100644
> --- a/drivers/pci/host/pci-imx6.c
> +++ b/drivers/pci/host/pci-imx6.c
> @@ -558,7 +558,7 @@ static struct platform_driver imx6_pcie_driver = {
>         .driver = {
>                 .name   = "imx6q-pcie",
>                 .owner  = THIS_MODULE,
> -               .of_match_table = of_match_ptr(imx6_pcie_of_match),
> +               .of_match_table = imx6_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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux