linux/drivers/pinctrl/qcom
Julia Lawall d259ec26a6 pinctrl: qcom: ssbi: convert null test to IS_ERR test
Since commit 323de9efdf ("pinctrl: make pinctrl_register() return proper
error code"), pinctrl_register returns an error code rather than NULL on
failure.  Update some drivers that were introduced more recently.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e,e1,e2;
@@

e = pinctrl_register(...)
... when != e = e1
if (
-   e == NULL
+   IS_ERR(e)
   ) {
     ...
     return
-      e2
+      PTR_ERR(e)
     ;
     }
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-09-14 09:13:43 +02:00
..
Kconfig pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs 2015-07-17 21:56:14 +02:00
Makefile pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs 2015-07-17 21:56:14 +02:00
pinctrl-apq8064.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-apq8084.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-ipq8064.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-msm8x74.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-msm8660.c pinctrl: qcom: Add MSM8660 pinctrl definitions 2015-06-10 10:18:38 +02:00
pinctrl-msm8916.c pinctrl: qcom: Add msm8916 pinctrl driver 2015-01-30 14:35:09 +01:00
pinctrl-msm8960.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-msm.c pinctrl/qcom/msm: Prepare msm_gpio_irq_handler for irq argument removal 2015-07-17 21:56:22 +02:00
pinctrl-msm.h pinctrl: qcom: increase variable size for register offsets 2015-01-30 14:32:44 +01:00
pinctrl-qdf2xxx.c pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs 2015-07-17 21:56:14 +02:00
pinctrl-spmi-gpio.c Here is the bulk of pin control changes for the v4.2 series: 2015-06-24 19:21:02 -07:00
pinctrl-spmi-mpp.c pinctrl: qcom: spmi-mpp: Transpose pinmux function 2015-07-17 14:31:19 +02:00
pinctrl-ssbi-gpio.c pinctrl: qcom: ssbi: convert null test to IS_ERR test 2015-09-14 09:13:43 +02:00
pinctrl-ssbi-mpp.c pinctrl: qcom: ssbi: convert null test to IS_ERR test 2015-09-14 09:13:43 +02:00