From: Sachin Kamat Date: Sat, 31 Aug 2013 17:12:00 +0000 (+0100) Subject: staging: iio: ad7192: Use devm_* APIs and fix a memory leak X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~694^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e319cecdb4800e03a803e96da63091de0165ecb;p=pandora-kernel.git staging: iio: ad7192: Use devm_* APIs and fix a memory leak devm_* APIs are device managed and make code simpler. The memory leak was a lack of freeing the iio_dev structure in the remove function. Signed-off-by: Sachin Kamat Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed