diff options
author | Wei Yongjun <[email protected]> | 2016-06-17 17:24:23 +0000 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2016-06-20 17:00:29 -0700 |
commit | a5e9b85a6540df6c4074d3a56674f6fb6c5fc830 (patch) | |
tree | de91389060c9e94e25e4a4f0331d550841dd90db /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 72ad679aa7182d23d269cbe4d655f7e129d3b057 (diff) |
clk: Fix return value check in oxnas_stdclk_probe()
In case of error, the function syscon_node_to_regmap() 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 <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Fixes: 0bbd72b4c64f ("clk: Add Oxford Semiconductor OXNAS Standard Clocks")
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions