提交 473e92e6 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

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: NSachin Kamat <sachin.kamat@samsung.com>
Acked-by: NJingoo Han <jg1.han@samsung.com>
Reviewed-by: NVivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 ab53eb97
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册