From: Sachin Kamat Date: Thu, 5 Sep 2013 09:29:00 +0000 (+0100) Subject: staging: iio: tsl2583: Use devm_iio_device_alloc X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~694^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664716aedacbfd02535717b67be88678b348502a;p=pandora-kernel.git staging: iio: tsl2583: Use devm_iio_device_alloc devm_iio_device_alloc makes the code simple. While at it also fixed an uninitialized return with -EINVAL. Signed-off-by: Sachin Kamat Cc: J. August Brenner Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed