From: Sachin Kamat Date: Fri, 6 Jun 2014 08:43:44 +0000 (+0530) Subject: usb: ohci-exynos: Use NULL instead of 0 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=473e92e69e3dcdb16b48573374b11b958a7985ed;p=linux-beck.git usb: ohci-exynos: Use NULL instead of 0 The third argument of devm_of_phy_get expects a pointer. Hence use NULL instead of 0. Signed-off-by: Sachin Kamat Acked-by: Jingoo Han Reviewed-by: Vivek Gautam Signed-off-by: Greg Kroah-Hartman --- 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);