summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-05-18 18:55:13 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-06-07 16:32:14 +0300
commit1f6d640cad6e5885e175ed359b87f615a3448e8f (patch)
tree1114b60de7c61b3de19ebac60084a292293c8997 /include/linux
parent0adad031ef5d0d89ee92d92964d3799685ea2387 (diff)
downloadlinux-1f6d640cad6e5885e175ed359b87f615a3448e8f.tar.xz
clk: sunxi-ng: de2: fix wrong pointer passed to PTR_ERR()
PTR_ERR should access the value just tested by IS_ERR, otherwise the wrong error code will be returned. Fixes: b0d9a4bd52bd ("clk: sunxi-ng: add support for DE2 CCU") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions