Merge branch 'regulator-5.3' into regulator-next
authorMark Brown <broonie@kernel.org>
Thu, 4 Jul 2019 16:34:32 +0000 (17:34 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jul 2019 16:34:32 +0000 (17:34 +0100)
1  2 
MAINTAINERS
drivers/regulator/88pm800-regulator.c
drivers/regulator/s2mps11.c
include/linux/mfd/samsung/s2mps11.h
include/linux/regulator/driver.h

diff --cc MAINTAINERS
Simple merge
Simple merge
@@@ -828,10 -843,11 +850,12 @@@ static void s2mps14_pmic_dt_parse_ext_c
                                0,
                                GPIOD_OUT_HIGH | GPIOD_FLAGS_BIT_NONEXCLUSIVE,
                                "s2mps11-regulator");
-               if (IS_ERR(gpio[reg])) {
+               if (PTR_ERR(gpio[reg]) == -ENOENT)
+                       gpio[reg] = NULL;
+               else if (IS_ERR(gpio[reg])) {
                        dev_err(&pdev->dev, "Failed to get control GPIO for %d/%s\n",
                                reg, rdata[reg].name);
 +                      gpio[reg] = NULL;
                        continue;
                }
                if (gpio[reg])
Simple merge
Simple merge