usb: ohci-exynos: Use NULL instead of 0
authorSachin Kamat <sachin.kamat@samsung.com>
Fri, 6 Jun 2014 08:43:44 +0000 (14:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:05:42 +0000 (16:05 -0700)
The third argument of devm_of_phy_get expects a pointer.
Hence use NULL instead of 0.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-exynos.c

index 060a6a4147500c89d1783221372649a3fc9a9cda..a72ab8fe8cd355ae038be8924b96239d055aab86 100644 (file)
@@ -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);