diff options
| author | Wei Yongjun <[email protected]> | 2014-07-22 22:18:08 +0800 |
|---|---|---|
| committer | Jason Cooper <[email protected]> | 2014-07-23 12:31:13 +0000 |
| commit | b03e119fff8a06f55faaaa11c6259829fe81cbb4 (patch) | |
| tree | 17da421708cd39346b57614ca8678aecb1b03513 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | ba3ec5780bba27819bbc4f669e6c77418a00f14b (diff) | |
ARM: mvebu: fix return value check in armada_xp_pmsu_cpufreq_init()
In case of error, the function clk_get() 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]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions