diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-06 12:18:34 +0000 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-08-08 19:27:33 +0200 |
commit | 7e196aa1a011da35a04cb1f161e186563aa8d8db (patch) | |
tree | 548a8c751f01574a023a5aa9e960b31b96a97b9c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions