From: Stephen Warren Date: Wed, 21 Sep 2011 10:16:01 +0000 (+0100) Subject: staging:iio:magnetometer:ak8975: Fix probe() error-handling X-Git-Tag: v3.2-rc1~169^2^2~361 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad31d250bf60c8e4c990e8b0daeedbaa2d6884a9;p=pandora-kernel.git staging:iio:magnetometer:ak8975: Fix probe() error-handling Fix ak8975_probe() to jump to the appropriate exit labels when an error occurs. With the previous code, some cleanup actions were being skipped for some error conditions. Signed-off-by: Stephen Warren Acked-by: Andrew Chew Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed