aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-16 17:02:00 +0100
committerMoyster <oysterized@gmail.com>2018-12-11 15:51:11 +0100
commit37bbc32a81015e2f36360e45b5cb0d35e34c1744 (patch)
tree17fc240c07f3b59103d491b64d0a26a77dcf5a4b /include
parentc0b1f2c842172b32cc149a800f766bc82f961c8b (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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions