On Fri, Jun 6, 2014 at 2:13 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxxx> wrote: > The third argument of devm_of_phy_get expects a pointer. > Hence use NULL instead of 0. > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxxx> > --- > drivers/usb/host/ohci-exynos.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c > index 060a6a414750..a72ab8fe8cd3 100644 > --- a/drivers/usb/host/ohci-exynos.c > +++ b/drivers/usb/host/ohci-exynos.c > @@ -87,7 +87,7 @@ static int exynos_ohci_get_phy(struct device *dev, > return -EINVAL; > } > > - phy = devm_of_phy_get(dev, child, 0); > + phy = devm_of_phy_get(dev, child, NULL); > of_node_put(child); > if (IS_ERR(phy)) { > ret = PTR_ERR(phy); > -- > 1.7.9.5 > Reviewed-by: Vivek Gautam <gautam.vivek@xxxxxxxxxxx> for both the patches. -- Best Regards Vivek Gautam Samsung R&D Institute, Bangalore India -- 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