commit | 0b568b3c4ae582dc8f20960dc02dc229957ea3d3 | [log] [tgz] |
---|---|---|
author | simran singhal <singhalsimran0@gmail.com> | Sat Apr 01 19:36:14 2017 +0530 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Apr 02 09:46:25 2017 +0100 |
tree | 40f063f542be70916b02a7e55f710b9c2afadb6d | |
parent | 5a70925b16f2ad3d68dd6ecc469c9507d9a18e6a [diff] |
iio: adc: 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>