diff options
author | Wei Yongjun <[email protected]> | 2013-09-11 19:15:08 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-09-12 10:53:16 +0100 |
commit | 272bfbd54f29b9361b09dbd6b25ccbd1a30163f1 (patch) | |
tree | 0dc963ec4b2bfdae84d0c5b9e93a0f6f7cdf9a92 /tools/perf/util/trace-event-scripting.c | |
parent | 578739259875a93b1869d25cdf4a8bd963b7d0a7 (diff) |
spi: fix return value check in dspi_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]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions