From b72eb70209a0aac7651166d3f610ffb57b4c6e5f Mon Sep 17 00:00:00 2001 From: Cristina Opriceana Date: Sun, 29 Mar 2015 16:14:39 +0300 Subject: [PATCH] Staging: iio: Add error check on iio_register_device() This patch checks if an error occurred on probe and stops the device in order to avoid wasting power. Signed-off-by: Cristina Opriceana Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed