linux-xiaomi-chiron/drivers/iio/adc
Guenter Roeck 55b40d3731 iio: max1363: Use devm_regulator_get_optional for optional regulator
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>
2014-02-08 11:46:00 +00:00
..
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 iio: max1363: Use devm_regulator_get_optional for optional regulator 2014-02-08 11:46:00 +00:00
mcp320x.c
mcp3422.c
nau7802.c
ti-adc081c.c
ti_am335x_adc.c Immutable branch for IIO and Input 2014-01-21 08:26:55 +00:00
twl6030-gpadc.c
viperboard_adc.c