diff options
author | 2020-04-27 11:08:29 +0000 | |
---|---|---|
committer | 2020-04-28 16:11:16 +0200 | |
commit | 66d8ad67aab3bc6f55e7de81565cd0d4875bd851 (patch) | |
tree | 49326f7489b0e651deb8c09c982af58e9b388854 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: ftgpio010: Fix small typo (diff) | |
download | linux-dev-66d8ad67aab3bc6f55e7de81565cd0d4875bd851.tar.xz linux-dev-66d8ad67aab3bc6f55e7de81565cd0d4875bd851.zip |
gpio: mlxbf2: fix return value check in mlxbf2_gpio_get_lock_res()
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 <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200427110829.154785-1-weiyongjun1@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions