Skip to content
Commit 12b7b5c0 authored by Qinglang Miao's avatar Qinglang Miao Committed by Krzysztof Kozlowski
Browse files

ARM: s3c64xx: fix return value check in s3c_usb_otgphy_init()



The function clk_get() returns ERR_PTR() in case of error and
never returns NULL. So there's no need to test whether xusbxti
is NULL, just remove the redundant part in the return value check.

Signed-off-by: default avatarQinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 9123e3a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment