aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2014-07-20 11:41:53 +0800
committerFelipe Balbi <[email protected]>2014-08-19 09:27:24 -0500
commit4b11f88821aff3e780cb3eac3a48270551e41167 (patch)
tree4277de7e92e5b33e0fc7259bbd7508c5797c64aa /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent7042e8f2f6f5c76b6173748570312bbeb044c7dd (diff)
usb: gadget: Fix return value check in r8a66597_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions