diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-09-16 12:02:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-09-21 14:24:06 -0400 |
commit | f01a140ad30cb99eb3a15a6c43fde80207ce2681 (patch) | |
tree | 5ffd7b536197282c4e4780011938f8b2ab2f1423 /lib/uuid.c | |
parent | cf4dd430c4cfeb2b41e2de43f3463d0a3dba2463 (diff) |
iio: gyro-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 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions