commit | cf4dd430c4cfeb2b41e2de43f3463d0a3dba2463 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Sep 16 17:02:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Sep 21 19:24:06 2013 +0100 |
tree | 38b9971604e6e066f2a6f42b9bf767cd515f5f7e | |
parent | 7885a8ce6800ec37147902b316cd73790865dc1d [diff] |
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>