diff options
author | 2020-05-23 19:45:25 +0800 | |
---|---|---|
committer | 2020-05-25 13:40:47 +0200 | |
commit | b5d9ff10dca49f4d4b7846c3751c6bec50d07375 (patch) | |
tree | f8cbc441159edfbb53ec7d8b06dc0e774ecebf4c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge tag 'sh-pfc-for-v5.8-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into devel (diff) | |
download | linux-dev-b5d9ff10dca49f4d4b7846c3751c6bec50d07375.tar.xz linux-dev-b5d9ff10dca49f4d4b7846c3751c6bec50d07375.zip |
pinctrl: Fix return value about devm_platform_ioremap_resource()
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.
Fixes: 4b024225c4a8 ("pinctrl: use devm_platform_ioremap_resource() to simplify code")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1590234326-2194-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions