On 21 May 2013 17:17, Sachin Kamat <sachin.ka...@linaro.org> wrote:
> 'spear_ohci_id_table' is always compiled in. Hence use of
> of_match_ptr is unnecessary.
>
> Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org>
> Cc: Viresh Kumar <viresh.ku...@linaro.org>
> ---
>  drivers/usb/host/ohci-spear.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c
> index 8848e25..cc9dd9e 100644
> --- a/drivers/usb/host/ohci-spear.c
> +++ b/drivers/usb/host/ohci-spear.c
> @@ -230,7 +230,7 @@ static struct platform_driver spear_ohci_hcd_driver = {
>         .driver = {
>                 .owner = THIS_MODULE,
>                 .name = "spear-ohci",
> -               .of_match_table = of_match_ptr(spear_ohci_id_table),
> +               .of_match_table = spear_ohci_id_table,
>         },
>  };

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

Reply via email to