From: Jonathan Cameron Date: Fri, 14 Oct 2011 13:46:58 +0000 (+0100) Subject: staging:iio: fix removal path to allow correct freeing. X-Git-Tag: v3.2-rc1~169^2^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2fffd6c2fd60fe9ab63ef30758d9d43a5057549;p=pandora-kernel.git staging:iio: fix removal path to allow correct freeing. Fix a dumb lack of consideration of the effect of combining the iio_device_unregister and iio_free_device calls into one. There is no valid place to free some of the sysfs array elements. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed