commit | 407e0b537eadc9f5e98da74b746ce84f42b89cd7 | [log] [tgz] |
---|---|---|
author | simran singhal <singhalsimran0@gmail.com> | Sat Apr 01 19:46:24 2017 +0530 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Apr 02 09:51:45 2017 +0100 |
tree | 4f8f38e5dcf6052922f8c9ff7439896235bcd3cf | |
parent | 7ae6df68d68ed1d68d6bac11edc332da67108d8f [diff] |
iio: imu: st_lsm6dsx: Remove unnecessary cast on void pointer The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: simran singhal <singhalsimran0@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>