linux/drivers/gpio
Kuninori Morimoto 3c0528810c gpio: pcf857x: fixup smatch WARNING
6e20a0a429
(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
..
devres.c gpio: export devm_gpio_request_one 2012-07-05 14:49:13 +02:00
gpio-74x164.c gpio: 74x164: Add support for the daisy-chaining 2012-09-11 23:49:32 +02:00
gpio-ab8500.c
gpio-adp5520.c
gpio-adp5588.c gpio: adp5588: Use module_i2c_driver 2012-09-04 09:24:10 +02:00
gpio-amd8111.c gpio: add a driver for GPIO pins found on AMD-8111 south bridge chips 2012-07-12 13:40:13 +02:00
gpio-arizona.c gpiolib: Add support for Wolfson Microelectronics Arizona class devices 2012-07-17 20:59:53 +02:00
gpio-bt8xx.c gpio: Use DEFINE_PCI_DEVICE_TABLE macro 2012-09-04 09:23:07 +02:00
gpio-cs5535.c
gpio-da9052.c gpio: da9052: Convert to use devm_kzalloc API 2012-09-01 12:53:56 +02:00
gpio-davinci.c gpio: davinci: preparation for switch to common clock framework 2012-09-01 01:12:01 +02:00
gpio-em.c gpio: em: Use irq_data_get_irq_chip_data() at appropriate places 2012-09-06 09:18:07 +02:00
gpio-ep93xx.c
gpio-ge.c
gpio-generic.c
gpio-ich.c
gpio-it8761e.c
gpio-janz-ttl.c
gpio-ks8695.c
gpio-langwell.c drivers/gpio/gpio-langwell.c: fix error return code 2012-08-07 08:55:52 +02:00
gpio-lpc32xx.c gpio: gpio-lpc32xx: Add gpio_to_irq mapping 2012-07-12 13:40:17 +02:00
gpio-max730x.c
gpio-max732x.c
gpio-max7300.c
gpio-max7301.c
gpio-mc9s08dz60.c gpio: mc9s08dz60: Use devm_kzalloc API 2012-09-01 01:02:27 +02:00
gpio-mc33880.c
gpio-mcp23s08.c
gpio-ml-ioh.c gpio: gpio-ml-ioh: Use spinlock for register access protection 2012-08-17 07:35:42 +02:00
gpio-mm-lantiq.c GPIO: MIPS: lantiq: convert gpio-mm-lantiq to OF and of_mm_gpio 2012-05-21 14:31:53 +01:00
gpio-mpc8xxx.c
gpio-mpc5200.c
gpio-msic.c gpio: msic: Fix calculating register address in msic_gpio_to_oreg() 2012-08-05 01:09:50 +02:00
gpio-msm-v1.c
gpio-msm-v2.c
gpio-mxc.c gpio/mxc: specify gpio base for device tree probe 2012-08-07 08:55:22 +02:00
gpio-mxs.c arm-soc: device tree conversions, part 2 2012-05-26 12:57:47 -07:00
gpio-omap.c GPIO changes for v3.6: 2012-07-26 13:56:38 -07:00
gpio-pca953x.c gpio/pca953x: increase variables size to support 24 bit of data 2012-07-17 21:00:18 +02:00
gpio-pcf857x.c gpio: pcf857x: fixup smatch WARNING 2012-09-12 17:45:01 +02:00
gpio-pch.c gpio: gpio-pch: Use spinlock for register access protection 2012-08-17 07:35:42 +02:00
gpio-pl061.c
gpio-pxa.c drivers/gpio/gpio-pxa.c: use clk_prepare_enable and clk_disable_unprepare 2012-09-01 06:13:54 +02:00
gpio-rc5t583.c
gpio-rdc321x.c
gpio-sa1100.c
gpio-samsung.c gpio: samsung: Fix off-by-one bug in gpio addresses 2012-08-07 08:55:52 +02:00
gpio-sch.c gpio-sch: Fix leak of resource 2012-08-05 00:33:48 +02:00
gpio-sodaville.c gpio: Use DEFINE_PCI_DEVICE_TABLE macro 2012-09-04 09:23:07 +02:00
gpio-sta2x11.c gpio-sta2x11: don't use pdata if null 2012-07-05 14:48:49 +02:00
gpio-stmpe.c
gpio-stp-xway.c GPIO: MIPS: lantiq: convert gpio-stp-xway to OF 2012-05-21 14:31:53 +01:00
gpio-sx150x.c gpio: sx150x: Use irq_data_get_irq_chip_data() at appropriate places 2012-09-06 09:19:04 +02:00
gpio-tc3589x.c
gpio-tegra.c
gpio-timberdale.c
gpio-tnetv107x.c
gpio-tps6586x.c gpio: tps6586x: Add gpio support through platform driver 2012-07-25 00:36:54 +02:00
gpio-tps65910.c gpio/gpio-tps65910: gpio_chip.of_node referenced without CONFIG_OF_GPIO defined 2012-07-10 22:53:31 +02:00
gpio-tps65912.c gpio: tps65912: Convert to use devm_kzalloc API 2012-09-01 12:55:30 +02:00
gpio-twl4030.c
gpio-ucb1400.c
gpio-vr41xx.c
gpio-vx855.c
gpio-wm831x.c gpio: wm831x: Convert to use devm_kzalloc API 2012-09-04 09:25:13 +02:00
gpio-wm8350.c gpio: wm8350: Convert to use devm_kzalloc API 2012-09-04 09:26:06 +02:00
gpio-wm8994.c GPIO changes for v3.6: 2012-07-26 13:56:38 -07:00
gpio-xilinx.c
gpiolib-of.c gpio: of_get_named_gpio_flags() return -EPROBE_DEFER if GPIO not yet available 2012-07-17 21:00:21 +02:00
gpiolib.c gpiolib: Use seq_file's iterator interface 2012-08-17 07:35:41 +02:00
Kconfig gpio: Remove broken mark for da9052 gpio driver 2012-09-01 01:05:57 +02:00
Makefile MFD bits for the 3.6 merge window. 2012-07-30 12:41:17 -07:00