From: Sachin Kamat Date: Fri, 2 Aug 2013 10:08:00 +0000 (+0100) Subject: iio: magnetometer: hid-sensor-magn-3d: Use devm_iio_device_alloc X-Git-Tag: v3.12-rc1~183^2~322^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=907c0a0ae0e0f3b26d1d2bb6f05f116f0a9decc1;p=pandora-kernel.git iio: magnetometer: hid-sensor-magn-3d: Use devm_iio_device_alloc Using devm_iio_device_alloc makes code simpler. Signed-off-by: Sachin Kamat Cc: Srinivas Pandruvada Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed