summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-10-25 17:31:14 +0800
committerFelipe Balbi <balbi@ti.com>2013-11-25 10:56:48 -0600
commite8d68f88bcb4e336b308a05d1389e999f0b0c4b0 (patch)
tree0c46b419038619defbeae0fe2bbc8bcf6b395512 /tools/perf/scripts/python/check-perf-trace.py
parenta535d81c92615b8ffb99b7e1fd1fb01effaed1af (diff)
usb: phy: phy-generic: fix return value check in usb_nop_xceiv_register()
In case of error, the function platform_device_register_simple() 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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions