diff options
author | 2017-05-16 15:26:12 +0000 | |
---|---|---|
committer | 2017-06-03 10:52:31 +0100 | |
commit | 1454e15bc28ba94aa5d6b31a83a42d5c03af2a6d (patch) | |
tree | d43e49ed59da745c4b01a61597c5a4584d1a287d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iio: imu: inv_mpu6050: add accel lpf setting for chip >= MPU6500 (diff) | |
download | linux-dev-1454e15bc28ba94aa5d6b31a83a42d5c03af2a6d.tar.xz linux-dev-1454e15bc28ba94aa5d6b31a83a42d5c03af2a6d.zip |
iio: adc: mxs-lradc: Fix return value check in mxs_lradc_adc_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. Also add NULL test for iores.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions