diff options
author | 2016-06-13 14:32:23 +0000 | |
---|---|---|
committer | 2016-06-13 16:36:40 +0100 | |
commit | 57c624ae1c0aa631f11768992a74998c531a7fee (patch) | |
tree | 28b16d9afdbe3f4d0d95a85bf3603abba0ac2e57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: orion: Add direct access mode (diff) | |
download | linux-dev-57c624ae1c0aa631f11768992a74998c531a7fee.tar.xz linux-dev-57c624ae1c0aa631f11768992a74998c531a7fee.zip |
spi: orion: Fix return value check in orion_spi_probe()
In case of error, the function devm_ioremap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions