summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-sun8i-mbus.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-06 14:18:34 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-08-08 19:27:33 +0200
commit7e196aa1a011da35a04cb1f161e186563aa8d8db (patch)
tree548a8c751f01574a023a5aa9e960b31b96a97b9c /drivers/clk/sunxi/clk-sun8i-mbus.c
parentLinux 4.8-rc1 (diff)
downloadlinux-7e196aa1a011da35a04cb1f161e186563aa8d8db.tar.xz
linux-7e196aa1a011da35a04cb1f161e186563aa8d8db.zip
clk: sunxi: pll2: Fix return value check in sun4i_pll2_setup()
In case of error, the functions clk_register_composite() and clk_register_divider() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun8i-mbus.c')
0 files changed, 0 insertions, 0 deletions