Re: [PATCH 3/8] usb: host: ehci-spear: Remove redundant use of of_match_ptr

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

 



On 21 May 2013 17:17, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
> 'spear_ehci_id_table' is always compiled in. Hence use of
> of_match_ptr is unnecessary.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
>  drivers/usb/host/ehci-spear.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c
> index bd3e5cb..f5ac4e2 100644
> --- a/drivers/usb/host/ehci-spear.c
> +++ b/drivers/usb/host/ehci-spear.c
> @@ -174,7 +174,7 @@ static struct platform_driver spear_ehci_hcd_driver = {
>                 .name = "spear-ehci",
>                 .bus = &platform_bus_type,
>                 .pm = &ehci_spear_pm_ops,
> -               .of_match_table = of_match_ptr(spear_ehci_id_table),
> +               .of_match_table = spear_ehci_id_table,

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux