aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2013-06-28 19:30:40 +0800
committerMark Brown <[email protected]>2013-06-28 15:01:49 +0100
commit5c75acdcae1be608b27414334d7e1febef7dbd99 (patch)
tree60cf056fd19728fccfe467710d8f42e0c9a9e396 /tools/perf/util/trace-event-scripting.c
parent701016c0cba594d5dbd26652ed1e52b0fe2926fd (diff)
pinctrl: st: fix return value check
In case of error, the function pinctrl_register() returns NULL not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. The function syscon_regmap_lookup_by_phandle() 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: Srinivas Kandagatla <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions