summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-16 17:02:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-09-21 19:24:06 +0100
commitcf4dd430c4cfeb2b41e2de43f3463d0a3dba2463 (patch)
tree38b9971604e6e066f2a6f42b9bf767cd515f5f7e /drivers/iio/gyro
parent7885a8ce6800ec37147902b316cd73790865dc1d (diff)
downloadop-kernel-dev-cf4dd430c4cfeb2b41e2de43f3463d0a3dba2463.zip
op-kernel-dev-cf4dd430c4cfeb2b41e2de43f3463d0a3dba2463.tar.gz
iio: accel-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>
Diffstat (limited to 'drivers/iio/gyro')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud