summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-16 20:02:00 +0400
committerJonathan Cameron <jic23@kernel.org>2013-09-21 22:24:07 +0400
commit267a29b957cb28725aef7b9b2ea4c219caefb3b7 (patch)
treea65991b0c62c7a7630bf32d8aef08c512c1d9e51 /drivers/iio/gyro
parentf01a140ad30cb99eb3a15a6c43fde80207ce2681 (diff)
downloadlinux-267a29b957cb28725aef7b9b2ea4c219caefb3b7.tar.xz
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>
Diffstat (limited to 'drivers/iio/gyro')
0 files changed, 0 insertions, 0 deletions