diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-12-23 00:28:07 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-12-26 06:19:23 +0300 |
commit | aa63e6562ab38f838fd7e3e5d6708495dd144c05 (patch) | |
tree | 82579aa1b5f05db149fe59c2b0d86cf1e3f91644 /drivers/gpio/gpio-hisi.c | |
parent | ce852837335abc874e4d943ebbbe7432465a413b (diff) | |
download | linux-aa63e6562ab38f838fd7e3e5d6708495dd144c05.tar.xz |
pinctrl: imx: fix allocation result check
Fix code to check correct variable value.
Reported-by: Abel Vesa <abel.vesa@nxp.com>
Fixes: 02f117134952 ("pinctrl: imx: prepare for making "group_names" in "function_desc" const")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20211222212807.27122-1-zajec5@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-hisi.c')
0 files changed, 0 insertions, 0 deletions