aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-09-15 01:30:32 +0000
committerLinus Walleij <[email protected]>2016-09-15 14:23:40 +0200
commit7f8b96570291def5104cec6f68bae09bd55b691a (patch)
tree62102f1ec1cdeef6881a5125c1b9865a5cc9339c /tools/perf/util/trace-event-scripting.c
parentd47529b2e9fe0ec2eb1f072afad8849f52e385c4 (diff)
gpio: aspeed: fix return value check in aspeed_gpio_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(). Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Joel Stanley <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions