]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iio: imu: inv_mpu6050: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Fri, 29 Aug 2014 03:56:00 +0000 (04:56 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 30 Aug 2014 09:31:46 +0000 (10:31 +0100)
commit63d1157dedd79e37bbc3f68f6a9886c5eeb99c27
tree6b3a428c0cfc70fb2a451166dbe97ff1d19add04
parent81816affeacfa360bfefabba774774e95f3dcc12
iio: imu: inv_mpu6050: Remove casting the return value which is a void pointer

Casting the return value which is a void pointer is redundant.
The conversion from void pointer to any other pointer type is
guaranteed by the C programming language.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c