original_kernel/drivers/iio
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
..
accel iio:accel:bma180: Use modifier instead of index in channel specification 2014-02-08 11:31:50 +00:00
adc iio: max1363: Use devm_regulator_get_optional for optional regulator 2014-02-08 11:46:00 +00:00
amplifiers
common
dac
frequency
gyro
humidity
imu iio: adis16400: Set timestamp as the last element in chan_spec 2014-02-08 11:26:06 +00:00
light
magnetometer iio: ak8975: Fix calculation formula for convert micro tesla to gauss unit 2014-02-08 10:28:05 +00:00
orientation
pressure
temperature
trigger
Kconfig
Makefile
buffer_cb.c
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-core.c
industrialio-event.c
industrialio-trigger.c
industrialio-triggered-buffer.c
inkern.c
kfifo_buf.c