From: Sachin Kamat Date: Tue, 30 Jul 2013 08:44:00 +0000 (+0100) Subject: iio: imu: inv_mpu6050: Use devm_iio_device_alloc X-Git-Tag: v3.12-rc1~183^2~322^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=452204ae531f236696d69966d0ff2f5ca0ef02f7;p=pandora-kernel.git iio: imu: inv_mpu6050: Use devm_iio_device_alloc Using devm_iio_device_alloc makes code simpler. While at it include missing iio.h header file and do some cleanup. Signed-off-by: Sachin Kamat Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed