Kuninori Morimoto 3c0528810c gpio: pcf857x: fixup smatch WARNING
6e20a0a429bd4dc07d6de16d9c247270e04e4aa0
(gpio: pcf857x: enable gpio_to_irq() support)
added new smatch warnings

drivers/gpio/gpio-pcf857x.c:288 pcf857x_probe() error: we previously \
	assumed 'pdata' could be null (see line 277)
drivers/gpio/gpio-pcf857x.c:364 pcf857x_probe() warn: variable dereferenced\
	 before check 'pdata' (see line 292)
drivers/gpio/gpio-pcf857x.c:421 pcf857x_remove() error: we previously\
	 assumed 'pdata' could be null (see line 410)

This patch fixes it

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-09-12 17:45:01 +02:00
..
2012-07-05 14:49:13 +02:00
2011-06-06 10:10:11 -06:00
2011-06-06 10:10:11 -06:00
2011-06-06 10:10:11 -06:00
2011-06-06 10:10:11 -06:00
2011-06-06 10:10:11 -06:00
2012-07-26 13:56:38 -07:00
2012-08-05 00:33:48 +02:00
2012-03-28 14:08:46 -07:00
2011-06-06 10:10:11 -06:00
2012-07-26 13:56:38 -07:00
2012-07-30 12:41:17 -07:00