linux/drivers/pinctrl/zte
Shawn Guo b962e2cd35 pinctrl: zte: fix dereference of 'data' in zx_set_mux()
It fixes the following Smatch complaint:

drivers/pinctrl/zte/pinctrl-zx.c:76 zx_set_mux()
warn: variable dereferenced before check 'data' (see line 67)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: cbff0c4d27 ("pinctrl: add ZTE ZX pinctrl driver support")
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-07-31 15:13:09 +02:00
..
Kconfig
Makefile
pinctrl-zx296718.c
pinctrl-zx.c pinctrl: zte: fix dereference of 'data' in zx_set_mux() 2017-07-31 15:13:09 +02:00
pinctrl-zx.h