[PATCH v2] regulator: gpio: check return value of of_get_named_gpio

2016-03-19 Thread Mihai Mihalache
the value passed is detected as invalid. The gpio_regulator_probe will therefore succeed win no gpio requested. Signed-off-by: Mihai Mihalache Reviewed-by: Hans Holmberg --- History: V1: - Fix comment from Mark Brown V2: - Explicit check for EPROBE_DEFER for

[PATCH v1] regulator: gpio: check return value of of_get_named_gpio

2016-03-10 Thread Mihai Mihalache
the value passed is detected as invalid. The gpio_regulator_probe will therefore succeed win no gpio requested. Signed-off-by: Mihai Mihalache --- History: V1: - Fix comment from Mark Brown drivers/regulator/gpio-regulator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH] regulator: gpio: check return value of of_get_named_gpio

2016-03-09 Thread Mihai Mihalache
the value passed is detected as invalid. The gpio_regulator_probe will therefore succeed with no gpio requested. Signed-off-by: Mihai Mihalache Reviewed-by: Hans Holmberg --- drivers/regulator/gpio-regulator.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/gpio