From 473e92e69e3dcdb16b48573374b11b958a7985ed Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 6 Jun 2014 14:13:44 +0530 Subject: [PATCH] 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 --- 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); -- 2.39.5