From: Lee Jones Date: Mon, 16 Sep 2013 16:02:00 +0000 (+0100) Subject: iio: accel-core: st: Clean up error handling in probe() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~694^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf4dd430c4cfeb2b41e2de43f3463d0a3dba2463;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed