From: Vladimirs Ambrosovs Date: Sat, 30 May 2015 08:20:15 +0000 (+0300) Subject: staging: iio_simple_dummy: fix init function X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~256^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f6af36e52e1e61cf7571c77dba0e905c38297a;p=pandora-kernel.git staging: iio_simple_dummy: fix init function This patch fixes the init function for the iio_simple_dummy driver. The main issues were absence of kfree for the allocated array, and no devices being removed in case the probe function fails, running in a loop. Signed-off-by: Vladimirs Ambrosovs Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed