diff options
| author | Wei Yongjun <[email protected]> | 2013-05-27 11:38:41 +0800 |
|---|---|---|
| committer | Jason Cooper <[email protected]> | 2013-05-27 15:51:56 +0000 |
| commit | 3d9939c92efdd4ced672b94994959ca71b141cb8 (patch) | |
| tree | defed74e4a163028c18126cba28cd649e2a14f52 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | bda7aabd6d9a473f14c94280d8dc6d2d9a299479 (diff) | |
pci: mvebu: fix return value check in mvebu_pcie_probe()
In case of error, function of_clk_get_by_name() returns
ERR_PTR() 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: Thomas Petazzoni <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions