linux/drivers/pinctrl/mediatek
Andrzej Hajda 740f5b08d4 pinctrl: mediatek: fix handling return value of mtk_pmx_find_gpio_mode
The function can return negative values, so its result should
be assigned to signed variable.

The problem has been detected using coccinelle semantic patch
scripts/coccinelle/tests/assign_signed_to_unsigned.cocci.

Fixes: 59ee9c9 ('pinctrl: mediatek: Add gpio_request_enable support')
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-02-16 00:30:21 +01:00
..
Kconfig pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK 2016-02-13 23:34:19 +01:00
Makefile pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK 2016-02-13 23:34:19 +01:00
pinctrl-mt2701.c pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701 2016-01-28 11:12:03 +01:00
pinctrl-mt6397.c pinctrl: Remove .owner field 2015-06-04 10:12:42 +02:00
pinctrl-mt8127.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mt8135.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mt8173.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mtk-common.c pinctrl: mediatek: fix handling return value of mtk_pmx_find_gpio_mode 2016-02-16 00:30:21 +01:00
pinctrl-mtk-common.h pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701 2016-01-28 11:12:03 +01:00
pinctrl-mtk-mt2701.h pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701 2016-01-28 11:12:03 +01:00
pinctrl-mtk-mt6397.h pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397. 2015-05-19 11:16:17 +02:00
pinctrl-mtk-mt8127.h pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127 2015-05-19 11:17:45 +02:00
pinctrl-mtk-mt8135.h pinctrl: mediatek: Fix include directive 2015-03-18 10:58:21 +01:00
pinctrl-mtk-mt8173.h pinctrl: mediatek: mt8135/mt8173: Fix build error due to missing include file 2015-03-18 13:06:09 +01:00