WSL2-Linux-Kernel/drivers/gpio
Rohit Vaswani afe8ce9b29 drivers: gpio: msm: Fix the error condition for reading ngpio
of_property_read_u32 return 0 on success. The check was using a ! to
return error. Fix the if condition.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Pankaj Jangra  <jangra.pankaj9@gmail.com>
Cc: "Bird, Tim" <Tim.Bird@sonymobile.com>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-07-20 23:33:33 +02:00
..
Kconfig GPIO changes for the v3.11 development cycle: 2013-07-03 11:39:44 -07:00
Makefile ARM: SAMSUNG: Introduce GPIO_SAMSUNG Kconfig entry 2013-06-19 01:24:27 +09:00
devres.c gpio: devres: make comments proper 2013-06-17 07:53:00 +02:00
gpio-74x164.c
gpio-adnp.c
gpio-adp5520.c
gpio-adp5588.c
gpio-amd8111.c
gpio-arizona.c
gpio-bt8xx.c Gpio/trivial: replace numeric with standard PM state macros 2013-06-30 01:37:07 +02:00
gpio-clps711x.c GPIO: clps711x: Add DT support 2013-06-11 15:44:57 -07:00
gpio-cs5535.c
gpio-da9052.c
gpio-da9055.c
gpio-davinci.c
gpio-em.c
gpio-ep93xx.c
gpio-ge.c
gpio-generic.c
gpio-grgpio.c gpio: grgpio: Staticize local symbols 2013-06-19 21:40:38 +02:00
gpio-ich.c gpio: ich: add GPO_BLINK support 2013-06-19 21:14:00 +02:00
gpio-it8761e.c
gpio-janz-ttl.c
gpio-ks8695.c
gpio-langwell.c Power management and ACPI updates for 3.11-rc1 2013-07-03 14:35:40 -07:00
gpio-lpc32xx.c
gpio-lynxpoint.c gpio: lynxpoint: remove unnecessary platform_set_drvdata() 2013-05-30 19:20:20 +02:00
gpio-max730x.c
gpio-max732x.c
gpio-max7300.c
gpio-max7301.c
gpio-mc9s08dz60.c
gpio-mc33880.c
gpio-mcp23s08.c
gpio-ml-ioh.c gpio-ml-ioh: fix error return code in ioh_gpio_probe() 2013-05-30 19:39:20 +02:00
gpio-mm-lantiq.c
gpio-mpc8xxx.c
gpio-mpc5200.c
gpio-msic.c
gpio-msm-v1.c gpio_msm: Convert to use devm_ioremap_resource 2013-06-17 10:52:40 +02:00
gpio-msm-v2.c drivers: gpio: msm: Fix the error condition for reading ngpio 2013-07-20 23:33:33 +02:00
gpio-mvebu.c gpio: mvebu: Use irq_get_trigger_type() to get IRQ flags 2013-06-25 11:48:25 +02:00
gpio-mxc.c
gpio-mxs.c gpio: mxs: Use set and clear capabilities of the gpio controller 2013-05-20 20:14:43 +02:00
gpio-omap.c gpio/omap: fix build error when OF_GPIO is not defined. 2013-07-20 18:57:28 +02:00
gpio-palmas.c
gpio-pca953x.c
gpio-pcf857x.c
gpio-pch.c gpio: Don't override the error code in probe error handling 2013-05-20 20:27:30 +02:00
gpio-pl061.c
gpio-pxa.c
gpio-rc5t583.c
gpio-rcar.c GPIO changes for the v3.11 development cycle: 2013-07-03 11:39:44 -07:00
gpio-rdc321x.c gpio: rdc321x: remove unnecessary platform_set_drvdata() 2013-05-30 19:20:21 +02:00
gpio-sa1100.c
gpio-samsung.c Merge branch 'v3.11-next/driver-pinctrl' into v3.11-next/s3c24xx-driver 2013-06-12 05:24:16 +09:00
gpio-sch.c gpio: Don't override the error code in probe error handling 2013-05-20 20:27:30 +02:00
gpio-sodaville.c
gpio-spear-spics.c
gpio-sta2x11.c gpio-sta2x11: Convert to use devm_ioremap_resource 2013-06-17 10:53:38 +02:00
gpio-stmpe.c gpio: stmpe: Staticize non-exported symbols 2013-05-30 19:20:22 +02:00
gpio-stp-xway.c
gpio-sx150x.c gpio: sx150x: convert to use devm_* functions 2013-05-30 22:18:36 +02:00
gpio-tc3589x.c gpio: tc3589x: remove unnecessary platform_set_drvdata() 2013-05-30 19:20:21 +02:00
gpio-tegra.c drivers/gpio: don't check resource with devm_ioremap_resource 2013-05-18 11:55:19 +02:00
gpio-timberdale.c gpio: timberdale: remove unnecessary platform_set_drvdata() 2013-05-30 19:20:21 +02:00
gpio-tnetv107x.c
gpio-tps6586x.c
gpio-tps65910.c
gpio-tps65912.c
gpio-ts5500.c
gpio-twl4030.c
gpio-twl6040.c
gpio-ucb1400.c
gpio-viperboard.c gpio: Don't override the error code in probe error handling 2013-05-20 20:27:30 +02:00
gpio-vr41xx.c
gpio-vx855.c gpio: vx855: remove unnecessary platform_set_drvdata() 2013-05-30 19:20:21 +02:00
gpio-wm831x.c
gpio-wm8350.c
gpio-wm8994.c
gpio-xilinx.c GPIO: xilinx: Use BIT macro 2013-06-17 07:47:33 +02:00
gpiolib-acpi.c
gpiolib-of.c
gpiolib.c gpiolib: remove warnning of allocations with IRQs disabled 2013-06-20 10:37:41 +02:00