From ad31d250bf60c8e4c990e8b0daeedbaa2d6884a9 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Wed, 21 Sep 2011 11:16:01 +0100 Subject: [PATCH] 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-format-patch failed