aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2013-02-22 04:39:30 +0000
committerRafael J. Wysocki <[email protected]>2013-02-23 00:30:25 +0100
commit3a3656d4011625cf98f8cc351968fe30af3cc9ac (patch)
tree7bd84c6a566f148ca81709a81c32c33b0a3f091c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentd6561bb206aae9de8eee4516549339ee96386b87 (diff)
imx6q-cpufreq: fix return value check in imx6q_cpufreq_probe()
In case of error, the function devm_regulator_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]> Acked-by: Viresh Kumar <[email protected]> Acked-by: Shawn Guo <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions