kernel-fxtec-pro1x/drivers/iio/magnetometer
Lee Jones 267a29b957 iio: magn-core: st: Clean up error handling in probe()
Reduce the amount of those unnecessary goto calls, as in most cases
we can simply return immediately. We also only call for the IRQ number
once and use that value throughout.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-09-21 19:24:07 +01:00
..
ak8975.c iio:ak8975 Implement data ready interrupt handling 2013-05-22 22:16:49 +01:00
hid-sensor-magn-3d.c iio: Remove unnecessary casts for iio_push_to_buffers() 2013-09-15 19:05:07 +01:00
Kconfig iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00
Makefile iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00
st_magn.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00
st_magn_buffer.c iio:magnetometer: Add STMicroelectronics magnetometers driver 2013-01-31 17:56:43 +00:00
st_magn_core.c iio: magn-core: st: Clean up error handling in probe() 2013-09-21 19:24:07 +01:00
st_magn_i2c.c iio: magnetometer: st_magn: Use devm_iio_device_alloc 2013-08-03 18:43:14 +01:00
st_magn_spi.c iio: magnetometer: st_magn: Use devm_iio_device_alloc 2013-08-03 18:43:14 +01:00