In kernel version 3.13, devm_regulator_get() may return no error if a regulator is undeclared. regulator_get_voltage() will return -EINVAL if this happens. This causes the driver to fail loading if the vref regulator is not declared. Since vref is optional, call devm_regulator_get_optional instead. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Cc: Stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
|---|---|---|
| .. | ||
| ad7266.c | ||
| ad7298.c | ||
| ad7476.c | ||
| ad7791.c | ||
| ad7793.c | ||
| ad7887.c | ||
| ad7923.c | ||
| ad_sigma_delta.c | ||
| at91_adc.c | ||
| exynos_adc.c | ||
| Kconfig | ||
| lp8788_adc.c | ||
| Makefile | ||
| max1363.c | ||
| mcp320x.c | ||
| mcp3422.c | ||
| nau7802.c | ||
| ti-adc081c.c | ||
| ti_am335x_adc.c | ||
| twl6030-gpadc.c | ||
| viperboard_adc.c | ||